Skip to content

Viewer for pictures and videos integrated in the files app

License

Notifications You must be signed in to change notification settings

RossRogers/files_mediaviewer

 
 

Repository files navigation

files_mediaviewer

Viewer for pictures and videos integrated in the files app

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 37.7%
  • Vue 28.5%
  • SCSS 18.9%
  • Perl 9.2%
  • Makefile 5.0%
  • PHP 0.7%