Skip to content
Viewer for pictures and videos integrated in the files app
Vue JavaScript CSS Makefile PHP
Branch: master
Clone or download
DeepDiver1975 Merge pull request #104 from owncloud/feature/fullscreen-msie-edge-sa…
…fari

Add fullscreen support for MSIE, Edge and Safari
Latest commit 80cba06 Jul 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
appinfo change screenshot, some small changes Jun 11, 2019
src Fix case sensitive import Jul 23, 2019
templates Initial frontend commit (setup) Dec 3, 2018
.eslintrc.json Minor code-style fixes, add custom import resolve for production build Jan 18, 2019
.gitignore Initial frontend commit (setup) Dec 3, 2018
CHANGELOG.md add unreleased section for next development cycle Jul 11, 2019
LICENSE Initial commit Dec 3, 2018
Makefile Adjust Makefile for changelog Jun 11, 2019
README.md Document how to support more media types Jul 16, 2019
gruntfile.js
package.json Move getEventListeners to src for propper babelify(cation) Jul 5, 2019

README.md

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
  • NPM

Run npm install && npm run 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.

You can’t perform that action at this time.