Official App "Video player": Cannot play external links

Have this official app enabled:

Video player 0.9.8
by Björn Korella (MIT-licensed)
Official
A responsive video player using a skinned version of Video.js

Based on this app: https://apps.owncloud.com/content/show.php/Video+Js?content=159670
Video.js: http://videojs.com/
Skin: GitHub - cabin/videojs-sublime-skin: A Video.js skin modeled on SublimeVideo.

1. Where can I get support for this app?
2. I have this issue:

Playing MP4 or M4V files when logged in → Works
Playing the same files - shared by external link → Don’t work

Nextcloud 9.0.53
Browser: Firefox, Chromium

Log-File:

{“reqId”:“ljX1ZRtVlbGCogZbDo3R”,“remoteAddr”:“87.162.xxx.xxx”,“app”:“admin_audit”,“message”:“The shared file with the token "yuTqLRcoSBPfwkv" by "ACCOUNT_OF_SHARER" has been accessed.”,“level”:1,“time”:“2016-08-08T09:14:30+00:00”,“method”:“GET”,“url”:“/s/yuTqLRcoSBPfwkv”,“user”:“–”}
{“reqId”:“ljX1ZRtVlbGCogZbDo3R”,“remoteAddr”:“87.162.xxx.xxx”,“app”:“PHP”,“message”:“Undefined index: previewMaxX at /var/www/nextcloud/apps/files_sharing/templates/public.php#111”,“level”:3,“time”:“2016-08-08T09:14:30+00:00”,“method”:“GET”,“url”:“/s/yuTqLRcoSBPfwkv”,“user”:“–”}
{“reqId”:“ljX1ZRtVlbGCogZbDo3R”,“remoteAddr”:“87.162.xxx.xxx”,“app”:“PHP”,“message”:“Undefined index: previewMaxY at /var/www/nextcloud/apps/files_sharing/templates/public.php#111”,“level”:3,“time”:“2016-08-08T09:14:30+00:00”,“method”:“GET”,“url”:“/s/yuTqLRcoSBPfwkv”,“user”:“–”}
{“reqId”:“Tuvyo4J9qAaCLJIZBBEV”,“remoteAddr”:“87.162.xxx.xxx”,“app”:“admin_audit”,“message”:“The shared file with the token "yuTqLRcoSBPfwkv" by "ACCOUNT_OF_SHARER" has been accessed.”,“level”:1,“time”:“2016-08-08T09:15:09+00:00”,“method”:“GET”,“url”:“/s/yuTqLRcoSBPfwkv/download”,“user”:“–”}
{“reqId”:“Tuvyo4J9qAaCLJIZBBEV”,“remoteAddr”:“87.162.xxx.xxx”,“app”:“PHP”,“message”:“Error: Call to undefined function split() at /var/www/nextcloud/lib/private/files.php#194”,“level”:3,“time”:“2016-08-08T09:15:09+00:00”,“method”:“GET”,“url”:“/s/yuTqLRcoSBPfwkv/download”,“user”:“–”}

Seems to be fixed in OC 9.1.1

Will it be fixed in NC also?

Just open a bug report on github.com/nextcloud/server/issues and ask to backport the fix from owncloud.

Done: https://github.com/nextcloud/server/issues/852

Sorry for all the noise. They already fixed the nextcloud sources and you will have to wait for the next release. Or you can apply the patch manually:


This is the associated pull-request:

(since it is only a single line, you can also do this manually, click on the tab with the files that were changed).

1 Like