https://github.com/owncloud/files_mediaviewer
Viewer for pictures and videos integrated in the files app
https://github.com/owncloud/files_mediaviewer
owncloud-app
Last synced: 12 months ago
JSON representation
Viewer for pictures and videos integrated in the files app
- Host: GitHub
- URL: https://github.com/owncloud/files_mediaviewer
- Owner: owncloud
- License: gpl-2.0
- Created: 2018-12-03T11:36:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-02T00:57:02.000Z (over 1 year ago)
- Last Synced: 2025-06-27T21:13:47.176Z (12 months ago)
- Topics: owncloud-app
- Language: JavaScript
- Homepage:
- Size: 1.38 MB
- Stars: 21
- Watchers: 44
- Forks: 8
- Open Issues: 70
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# files_mediaviewer
Viewer for pictures and videos integrated in the files app

## 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.