Skip to content

Viewer for pictures and videos integrated in the files app

License

Notifications You must be signed in to change notification settings

AARNet/files_mediaviewer

 
 

Repository files navigation

files_mediaviewer

Viewer for pictures and videos integrated in the files app

CHANGES TO ownCloud

  • disabled video playback

2018-12-12 13-08-17 2018-12-12 13_09_44

Building

Requires

  • Node.js
  • yarn

Run yarn install && yarn build to build.

Supporting more media types

First, make sure you have installed ImageMagick and its imagick PECL extension. Next add a few new entries to your config/config.php configuration file.

  'preview_max_scale_factor' => 1,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    11 => 'OC\\Preview\\Illustrator',
    12 => 'OC\\Preview\\Postscript',
    13 => 'OC\\Preview\\Photoshop',
    14 => 'OC\\Preview\\TIFF'
  ),

Look at the sample configuration (config.sample.php) in your config folder if you need more information about how the config file works. That's it. You should be able to see more media types in your slideshows and galleries as soon as you've installed the app.

About

Viewer for pictures and videos integrated in the files app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 40.3%
  • Vue 27.3%
  • SCSS 18.1%
  • Perl 8.8%
  • Makefile 4.8%
  • PHP 0.7%