Media Viewer App
Introduction
The Media Viewer App is a simple viewer for pictures and videos integrated into the files app, which supersedes the former Gallery and Video Player apps.
|
Add Support For More Media Types
To add support for additional media types, in addition to the default set, ensure that ImageMagick and its PECL extension are installed and enabled. Next, add new entries to the enabledPreviewProviders
in config/config.php
.Below, is an example of how to configure it.
'enabledPreviewProviders' => [
'OC\\Preview\\PNG',
'OC\\Preview\\JPEG',
'OC\\Preview\\GIF',
'OC\\Preview\\Illustrator',
'OC\\Preview\\Postscript',
'OC\\Preview\\Photoshop',
'OC\\Preview\\TIFF'
],
Support for playing Apple QuickTime (*.mov) does not work in Chrome - however it is supported in Safari and Mozilla. |
Look at the sample configuration (config.sample.php ) in your config folder, for more information about this configuration key.
|