files_mediaviewer
files_mediaviewer copied to clipboard
Raw files are not opened using files_mediaviewer app and camerarawpreviews app
Steps to reproduce
1 - Enable camerarawpreviews
app from marketplace
2 -Upload a RAW photo
3 - Try to open the Raw photo
Expected behaviour
Photo is shown
Actual behaviour
Download dialog is shown
Note: Using Gallery app it was able to open the Raw photo in the browser having camerarawpreviews app enabled
Server configuration
Operating system: Ubuntu 16.04
Web server: Apache
Database: MySQL
PHP version: 7.1
ownCloud version:
ownCloud 10.2.1 Updated from an older ownCloud or fresh install: Fresh
Are you using external storage, if yes which one: No
Are you using encryption: No
Logs
No logs in owncloud.log
Client configuration
browser
Firefor for mac
(cc @felixheidecke )
- Using inspector tool, checked from which URL gif file is loaded opening the file from Files view in GALLERY APP
<img src="/apps/gallery/preview/178?width=2000&height=2000&c=aef25a08079796af134c076e5be750d1&requesttoken=YUIeAz4aFh0AJzdjGFRmNygrBmUySDgnMw8GOmRYSA0%3D%3AR5mfUusEDnoQT2MfnQKVF%2BLJvB0yQ1%2FddXnb14WOTC4%3D" alt="RAW_CANON_EOS_1DX.CR2" style="position: absolute; background-color: rgb(0, 0, 0); background-size: 463.616px 309px; top: 1.51463px; height: 309px; left: 729.515px; width: 463.616px; background-position: 0px 0px; transform: rotate(0deg); transform-origin: 50% 50% 0px;">
@davitol mediaviewer ist a JavaScript Application only, relying on existing APIs only.
Can you point me to the app? I can't find it in the marketplace :-/ Looking @ https://github.com/owncloud/files_mediaviewer/issues/93#issuecomment-509140150 it seems camerarawpreviews works in conjunction with the gallery app, wich is replaced my the mediaviewer … right?
Can you point me to the app? I can't find it in the marketplace :-/
https://marketplace.owncloud.com/apps/camerarawpreviews
or occ market:install camerarawpreviews
in the CLI
We need to make the app register with the mediaviewer. I can not check if the app exists or not if it doesn't extend the OCA class.
@PVince81 @pmaier1 should we go ahead and ask for that? https://github.com/cowai/camerarawpreviews/blob/master/js/register-viewer.js
Registering MimeTypes in die Mediaviewer would be awesome btw.