Coder Social home page Coder Social logo

files_videoplayer's Introduction

⚠️ files_videoplayer is deprecated and will soon be pulled out of nextcloud. For any bugs and features, please head over to https://github.com/nextcloud/viewer/.

Video player

A responsive video player for Nextcloud using a skinned version of Video.js.

Installation

Simply copy the contents of this repository to $nextcloud/apps/files_videoplayer and enable the app.

Credits

The player is a modified version of this app to make it responsive and improve the UI.

Video.js: http://videojs.com/

Video.js skin: https://github.com/cabin/videojs-sublime-skin

License

MIT

files_videoplayer's People

Contributors

butonic avatar carlschwan avatar christophwurst avatar deepdiver1975 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar icewind1991 avatar jancborchardt avatar janklostermann avatar juliushaertl avatar lenz1111 avatar lukasreschke avatar marcoambrosini avatar mmattel avatar morrisjobke avatar nextcloud-bot avatar nextcloud-command avatar nickvergessen avatar pjrobertson avatar pvince81 avatar pytal avatar rullzer avatar skjnldsv avatar tobilap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

files_videoplayer's Issues

issue: "the video playback was aborted..."

I just installed Nextcloud 10 (new installation).
I have uploaded a video (first, as recorded by my Samsung S3Neo) then encoded with Avidemux with .mp4 extension in two encoding modes (h264 and ff).
Neither of these three files (about 15MB) can be viewed directly (I have to download them and view with vlc).
I got this error "the video playback was aborted due to a corruption problem or because the video used features your browser did not support" with last Firefox and a similar error with G.Chrome.
The default video "Nextcloud.mp4" works perfectly.
Any idea?

Allow video playback of MKV

Most of my video library are in MKV. I have the same codec settings that supported MP4 files have, would it be hard to implement support or do I really have to re-package all of my video library to have it supported by the videoplayer?

Related: #50

Time indicators

Hey,

would be nice to have indicators for the length of the Video, so it will show on the bottom left how long the video still plays. And maybe also a time when hovering over the timeline to see to which time state you will skip.

Best regards.

Type error: link is undefined

Basically https://sentry.io/share/issue/937b53339c9249bca7cdcbd590c962a1/

Expected behaviour

No js errors

Actual behaviour

Type error: link is undefined

Steps to reproduce

  1. Don't know, found it via Sentry https://sentry.io/share/issue/937b53339c9249bca7cdcbd590c962a1/

De-unified stack tracke:

  1. playerTemplate : '<video id="my_video_1" class="video-js vjs-sublime-skin" controls preload="auto" width="100%" height="100%" poster="'+OC.filePath('files_videoplayer', '', 'img')+'/poster.png" data-setup=\'{"techOrder": ["html5"]}\'>' +
  2. https://github.com/nextcloud/server/blob/a3fdec7d4b45ed05f49660c05ee74ad11f32fe4a/core/js/js.js#L204-L213

files_videoplayer is installed and enabled on that instance.

Add video filename over video window when mouse hoving

Expected behaviour

When you move mouse over video window, in addiction to the video controls we should also be able to see the name of the video that is being played. This would help a lot when you have a directory full of videos!

Actual behaviour

You cant see the name of the video being played.

Video player updates

There have been some feature requests like keyboard shortcuts, subtitle support, video library updates that are a bit difficult to do with the current player, because it relies on an extension for the skin that doesn't work with the current Video.js version and it would also rely on extensions for the new features.

So I looked around a bit and found that MediaElement.js had a major update that overhauled the default style and added all those features by default.

output

  • Default styling looks good, no need for an extension. The style looks very similar to the current player, but adds a few required features and is very easy to customize (you can add/remove features with a parameter).
  • Keyboard shortcuts work by default (play/pause, forward/back, fullscreen).
  • Current/total time display. This is somewhat lacking in the current player, especially for long videos.
  • Show buffer position to see how much of the video has loaded.
  • Subtitles and subtitle switching. I figured out how to make subtitles work, with the current player or MediaElement.js. I'd need some help with the implementation, but it shouldn't be too difficult. MediaElement.js has the added bonus that it offers UI elements to enable/disable subs or switch between them.
  • Playback speed can be changed. I don't know if it's really needed, but it has been asked for a few times.
  • Same license (MIT)

I created a demo branch with the MediaElement.js player if you want to check it out. It's not release ready at all, only a test to check if it works.

Personally, I'd prefer to go with this player in the future as it has more features by default and makes updates easier. Please tell me what you think.

Scrubbing through large video file keeps many PHP processes running, locks up server

When you scrub through a large video file (in my case 6+ hrs, 70+GB), there are PHP processes that keep running on the server. Each process keeps reading out the file at a significant speed. However, new PHP processes are spawned on every change of position in the file. As the file is very large these processes keep running for a very long time.
When i download the file and stop the download while in progress, there are no PHP processes that are running after stopping. Does the video player close the connection properly when seeking through the file?
I am running Nextcloud on nginx with php-fpm 7.0.

Expected behaviour

Seeking/scrubbing a video file should not spawn (additional) PHP processes that keep running for a long time.

Actual behaviour

On every scrub/seek additional PHP processes are spawned, until the server-set maximum of processes is reached and the server becomes unresponsive.

Steps to reproduce

  1. Put large video file in Nextcloud.
  2. Play back file in browser.
  3. Open top/htop on server
  4. Seek through file several times
  5. Watch many PHP processes/workers run for a long time.
    (6. Keep seeking, server will become unresponsive as max. workers are running)

Video bigger than 2GB are stop at 2GB

Expected behaviour

My uploaded 3.2GB file should play succesfull in the web GUI

Actual behaviour

It plays and stops at ~2/3 (~2GB) with the error “The video playback was aborted due to a corruption problem or because the video used features your browser did not support.”

Nextcloud log in Admin > Logging:
Error PHP fseek() expects parameter 2 to be integer, string given at /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php#177

Steps to reproduce

  1. Install nextcloud on a raspberry pi 3 (ubuntu mate)
  2. upload a video file bigger than 2GB
  3. watch it. (it will only play to the moment where its reach the 2GB)

Snap Installed Nextcloud 13.06 does not have Video Player in offered apps

Snap Installed Nextcloud 13.06 does not have Video Player in offered apps

When I have attempted several times to manually add the files_videoplayer using the newest clone and making sure the file permissions matched the other working Nextcloud addon applications, the 'Enable' box is greyed out. My latest attempt resulted in a 'Remove' box in addition to the greyed out Enable.

I miss not being able to use the video player addon tool. Why is it missing in the latest snap installed Nextcloud?

Why is Nextcloud 13.06 not accepting the latest clone of the files_videoplayer?

Move to asynchronous loading

We already load the videojs lib once needed, however due to the jquery dependency the main bundle still has around 91kb so we should either get rid of jquery here or add a separate script to handle the loading with OCP.Loader.loadScript.

Keyboard shortcuts

Some useful shortcuts from Youtube:

  • f fullscreen
  • j 10 seconds backward
  • k or space trigger play/pause
  • l 10 seconds forward
  • 5 seconds backward
  • 5 seconds forward
  • volume up
  • volume down

cc @Instagit @nextcloud/javascript

No close button

video_player

Expected behaviour

A close button should be present to close the video when playing

Actual behaviour

No close button available, must refresh page to get rid of the video player

Steps to reproduce

  1. Go to nextcloud.com and start a free and quick trial of 60 minutes to test nextcloud
  2. Click the Nextcloud.mp4 file to see it

Was running Windows 10 with chrome

video player frezze video after fev seconds

Expected behaviour

When I play video it starts to play about second than it frezze and fev seconds nothing than again starts to play and again frezze.

Actual behaviour

Video play all the time

Steps to reproduce

  1. play video

video player is 1.0, nextcloud is 14.0

Video player - Close video/window button is missing.

Expected behaviour

You should be able to close the video player window.

Actual behaviour

You can't close the player window after you have started playing a video. One has to refresh the web-page to exit the video "mode". Tested with Firefox, Chrome, Edge, IE, Brave. Same result.

Steps to reproduce

  1. Upload an MP4 file.
  2. Click on the video to watch.
  3. Try to exit the video player...

Nextcloud 12

No way to close video

Expected behaviour

When opening a video, I expected an 'X' somewhere in the upper right corner of the overlay window in order to close the video again. Keyboard ESC would do too. I believe this is how it was on Nextcloud <=11.

Actual behaviour

Since upgrading to Nextcloud 12, the 'X' is gone (tried Opera, Chrome and Edge) and there is no way to close the video window. Even hitting 'back' in the browser doesn't help. Only reloading the entire page gets rid of the video window.

Steps to reproduce

From Nextcloud files app, click on any video.

Toggle fullscreen mode on double-click

In my opinion it would be a nice feature, if the video player goes into fullscreen mode after a double-click inside the video frame. Obviously it should go back into window mode, if it is already in fullscreen mode.

[Feature Request] Remember/Save Playback Position across devices

I'm using Nextcloud to store my documents and consume video, audio and text.

It would tremendously increase the value of my entire Nextcloud usage if the video player would remember the playback position in a video, and store it in some kind of metadata on the server.

That way, I could do my tremendously enjoyable "grab my phone and keep watching in the bathroom" routine that I already practice on commercial services like Youtube and Netflix to great effect.

On a more serious note, this is the one commercial cloud feature that that I still haven't been able to replicate with a DIY solution in any way.

I don't think this would necessarily lead to more and more feature requests trying to transform nextcloud into a video player like Streama. It's just a simple future standard feature that comes naturally for any cloud video player.

X on top right corner is not showing

Expected behaviour

The Windowed Video should close.

Actual behaviour

The Window stays open. Only way to cloase it is to reload the page.

Steps to reproduce

  1. Click a video File from the Files tab. Video is playing but cannot be closed.
    Nextclod 12.0.0

theater mode (or pop-out player window)

I read somewhere that [major] changes are frozen while next version of nc is released - may have been an old post. Also that js player may be changed.

I've got a simple request that I think would be worth doing now: theater mode (or pop-out player window).
Actually another thing: remember volume level.

Create guide for optimal video streaming configuration

It would be great if there could be a guide on how to configure nginx/apache to make the video streaming perform better. Right now I'm finding random guides that only cover pieces and I'm not experienced enough to piece it all together to a good configuration. I'm sure this would be really appreciated by users who have Nextcloud installed as a personal cloud for their families and don't necessarily have all the advanced knowledge of the server configuration.

Support all video formats by falling back to Javascript codecs

Following on from this closed issue: #9

This can all be done in the browser with javascript. Here are some examples of codecs written in JS:
https://github.com/phoboslab/jsmpeg
https://github.com/mbebenita/Broadway
https://github.com/audiocogs/aurora.js

Here's a video convertor in JS: https://github.com/bgrins/videoconverter.js

Here's FFmpeg, which works with most formats, compiled into JS: https://github.com/Kagami/ffmpeg.js

This was done with Emscripten, which can also compile into WebAssembly for those browsers that support it. Obviously, it's not going to be as efficient as the browser's native playback, but it's better than nothing.

So what we need is to modify the current player to check browser capabilities, play natively where possible, and fall back to WebAssembly then javascript players when that fails.

Someone's already created a player for Ogg formats here: https://github.com/brion/ogv.js/

If the same could be done with libavformat and libavcodec from FFmpeg, we'd have a player that could play nearly anything.

Some relevant discussion here: Kagami/ffmpeg.js#12

add alias from quicktime to mp4

mimeTypeAliasses: {

Can we get an alias added for video/quicktime to video/mp4?

The container is virtually identical, and, for example, Canon Cameras produce .MOV files, but they are able to be played as video/mp4 in Chrome, but Chrome refuses to play them when they are video/quicktime.

I attempted to add mov as video/mp4 to config/mimetypemapping.json of nextcloud, but this doesn't seem to do anything. There is no documentation on commands that you have to run (https://docs.nextcloud.com/server/11/admin_manual/configuration_mimetypes/index.html#mimetype-mapping), but running php occ maintenance:mimetype:update-db does read the file, but does not write the new types anywhere.

chromecast button

I would love a cast-to button in the player!

I was looking at video.js plugins (like https://www.npmjs.com/package/videojs-chromecast)
Unfortunately I'm terrible at web-dev and don't know PHP/JavaScript very well, but what I gather from the other page is it appears to be adding another script to the video.js inclusion. I don't see anything like that in viewer.js specifically where it pulls in the video.js script itself to also add the inclusion to the chromecast script.

I'd be happy to help (my coding experience is in assembly so these fancy "objects" are not my forte, but I certainly can read code)

[Fixed] 11.3 broke video player EDIT: misconfigured mimetypemapping.json was the issue

Expect behaviour

Video should play in browser

Actual Behaviour

Videos uploaded before the 11.3 update still play just fine.

Videos uploaded after the update will not play in browser and will instead download when clicked on.

The same video can be dragged and drop from the local folder on my computer to a new tab and Chrome will play the video just fine.

Steps to reproduce

  1. Update NextCloud to 11.3
  2. Upload any video
  3. Attempt to play video by clicking on the filename.
  4. Video begins to download instead of playing in browser.

Live Demo

[snip]
There are 2 files. One file that was uploaded on 11.2 and one that was uploaded on 11.3. Both files have a SHA-1 Checksum of 8f98e3dfa9bb911f5cf9b38e9b6cf8ecf430b8c0

With this link, you can upload videos into the Demo-Uploaded folder of the above demo link:
[snip]

Media Info (provided by VLC)

http://i.imgur.com/c7SuRAk.png

Other Notes

There are some notable entries in the Web server error log included below. See attachment below:
error.log
Here's my Filesystem.php and View.php

On Android the file uploaded on 11.2 says the type is MP4 file while the file uploaded on 11.3 says OCTET-STREAM file.

NextCloud was installed using the NextCloud/VM Release. NextCloud would not update from Admin Panel, however, the releases included a nextcloud-update.sh script in /var/scripts/
For your convenience, I have included this script and the resulting update log below:
nextcloud_update.sh
updater.log

Server Info

Web server: Apache/2.4.18 (Ubuntu) (apache2handler)

Database: mysql 5.7.17

PHP version: 7.0.15-0ubuntu0.16.04.4
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, redis, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, shmop, SimpleXML, smbclient, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache

Nextcloud version: 11.0.3 (stable) - 11.0.3.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: https://github.com/nextcloud/vm/releases

Signing status:

Signing status
[]

List of activated apps:

App list ``` Enabled: - activity: 2.4.1 - activitylog: 0.0.1 - admin_audit: 1.1.0 - admin_notifications: 1.0.0 - apporder: 0.3.3 - audioplayer: 1.5.1 - bookmarks: 0.9.1 - calendar: 1.5.2 - checksum: 0.3.4 - comments: 1.1.0 - contacts: 1.5.3 - dav: 1.1.1 - deck: 0.1.2 - direct_menu: 0.10.1 - external: 1 - federatedfilesharing: 1.1.1 - federation: 1.1.1 - files: 1.6.1 - files_accesscontrol: 1.1.2 - files_automatedtagging: 1.1.1 - files_downloadactivity: 1.0.1 - files_external: 1.1.2 - files_markdown: 1.0.1 - files_pdfviewer: 1.0.1 - files_reader: 1.0.4 - files_sharing: 1.1.1 - files_texteditor: 2.2 - files_trashbin: 1.1.0 - files_versions: 1.4.0 - files_videoplayer: 1.0.0 - firstrunwizard: 2.0 - gallery: 16.0.0 - issuetemplate: 0.2.1 - keeweb: 0.3.1 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextant: 1.0.6 - nextcloud_announcements: 1.0 - notes: 2.2.0 - notifications: 1.0.1 - ocr: 2.3.0 - password_policy: 1.1.0 - provisioning_api: 1.1.0 - rainloop: 4.28.1 - registration: 0.2.3 - richdocuments: 1.1.25 - serverinfo: 1.1.1 - sharebymail: 1.0.1 - spreedme: 0.3.8 - survey_client: 0.1.5 - systemtags: 1.1.3 - tasks: 0.9.5 - theming: 1.1.1 - twofactor_backupcodes: 1.0.0 - twofactor_totp: 1.1.0 - twofactor_u2f: 1.2.0 - updatenotification: 1.1.1 - workflowengine: 1.1.1

Disabled:

  • encryption
  • files_retention
  • templateeditor
  • user_external
  • user_ldap
  • user_saml
</details>

**The content of config/config.php:**
<details>
	<summary>Config report</summary>

{
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"localhost",
"192.168.0.15",
"cloud.betaleaf.net",
"cloud.betaleaf.net"
],
"datadirectory": "/var/ncdata",
"overwrite.cli.url": "https://cloud.betaleaf.net/",
"dbtype": "mysql",
"version": "11.0.3.2",
"dbname": "nextcloud_db",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"instanceid": "ocs5sbx04rgz",
"appstore.experimental.enabled": "true",
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_smtpport": "465",
"mail_smtphost": "smtp.gmail.com",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "Jeff",
"mail_domain": "BetaLeaf.net",
"mail_smtpsecure": "ssl",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"preview_libreoffice_path": "/usr/bin/libreoffice",
"memcache.local": "\OC\Memcache\Redis",
"filelocking.enabled": true,
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "/var/run/redis/redis.sock",
"port": 0,
"timeout": 0,
"dbindex": 0,
"password": "REMOVED SENSITIVE VALUE"
},
"htaccess.RewriteBase": "/",
"mysql.utf8mb4": true,
"maintenance": false,
"updater.secret": "REMOVED SENSITIVE VALUE",
"loglevel": 2
}

</details>

**Are you using external storage, if yes which one:** Array
(
    [0] => \OC\Files\Storage\Local
    [1] => \OCA\Files_External\Lib\Storage\FTP
    [2] => \OC\Files\Storage\DAV
    [3] => \OCA\Files_External\Lib\Storage\OwnCloud
    [4] => \OCA\Files_External\Lib\Storage\SFTP
    [5] => \OCA\Files_External\Lib\Storage\AmazonS3
    [6] => \OCA\Files_External\Lib\Storage\Dropbox
    [7] => \OCA\Files_External\Lib\Storage\Google
    [8] => \OCA\Files_External\Lib\Storage\Swift
    [9] => \OCA\Files_External\Lib\Storage\SFTP
    [10] => \OCA\Files_External\Lib\Storage\SMB
    [11] => \OCA\Files_External\Lib\Storage\SMB
)


**Are you using encryption:** no

**Are you using an external user-backend, if yes which one:** no

### Client configuration
**Browser:** Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

**Operating system:**

### Logs
#### Web server error log
<details>
	<summary>Web server error log</summary>
	```
	[Wed Apr 26 05:16:31.362111 2017] [:notice] [pid 1741] mod_qos(009): loaded MPM is 'prefork' but mod_qos should be used with MPM 'Worker' only.
[Wed Apr 26 05:16:31.362225 2017] [:warn] [pid 1741] mod_qos(009): mod_unique_id not available (mod_qos generates simple request id if required)
[Wed Apr 26 05:16:47.692615 2017] [:notice] [pid 1746] mod_qos(009): loaded MPM is 'prefork' but mod_qos should be used with MPM 'Worker' only.
[Wed Apr 26 05:16:47.692755 2017] [:warn] [pid 1746] mod_qos(009): mod_unique_id not available (mod_qos generates simple request id if required)
[Wed Apr 26 05:16:47.705569 2017] [mpm_prefork:notice] [pid 1746] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_qos/11.21 configured -- resuming normal operations
[Wed Apr 26 05:16:47.705626 2017] [core:notice] [pid 1746] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 26 05:40:43.173987 2017] [:error] [pid 4160] [client 24.95.128.194:56484] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Gumbino...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 05:53:24.490913 2017] [:error] [pid 4371] [client 24.95.128.194:62138] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Gumbino...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 05:54:33.679661 2017] [:error] [pid 4293] [client 24.95.128.194:62400] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Gumbino...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:26:52.303303 2017] [:error] [pid 6470] [client 24.95.128.194:49925] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Gumbino...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:29:22.547084 2017] [:error] [pid 7870] [client 24.95.128.194:49967] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:29:31.573483 2017] [:error] [pid 6298] [client 24.95.128.194:49969] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:29:31.762107 2017] [:error] [pid 5231] [client 24.95.128.194:49972] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:29:32.095885 2017] [:error] [pid 6549] [client 24.95.128.194:49977] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:30:10.655178 2017] [:error] [pid 6301] [client 24.95.128.194:49981] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:30:11.831816 2017] [:error] [pid 6298] [client 24.95.128.194:50141] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:30:33.034805 2017] [:error] [pid 6388] [client 24.95.128.194:50196] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:30:36.168144 2017] [:error] [pid 7870] [client 24.95.128.194:50210] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:30:39.398648 2017] [:error] [pid 7871] [client 24.95.128.194:50217] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:30:42.259811 2017] [:error] [pid 6298] [client 24.95.128.194:50225] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Desktop...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:31:02.859464 2017] [:error] [pid 7870] [client 24.95.128.194:50268] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Demo/De...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:31:06.631150 2017] [:error] [pid 7871] [client 24.95.128.194:50278] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Demo/De...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:31:08.623806 2017] [:error] [pid 6388] [client 24.95.128.194:50285] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Demo/De...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:31:09.852978 2017] [:error] [pid 6549] [client 24.95.128.194:50289] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Demo/De...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:39:08.896797 2017] [:error] [pid 8148] [client 24.95.128.194:51423] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Demo/De...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
[Wed Apr 26 06:39:06.404582 2017] [:error] [pid 8129] [client 24.95.128.194:51421] PHP Fatal error:  Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /var/www/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/BetaLeaf/files...')\n#1 /var/www/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/Videos/Demo/De...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n  thrown in /var/www/nextcloud/lib/private/Files/Filesystem.php on line 806
	```
</details>

#### Nextcloud log (data/nextcloud.log)
<details>
	<summary>Nextcloud log</summary>
	```
	{"reqId":"WJ3h5SVkcqieFc3v3VFA","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#146","level":3,"time":"2017-04-26T11:18:28+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"KathrynSavage65","version":"11.0.3.2"}
{"reqId":"WJ3h5SVkcqieFc3v3VFA","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#101","level":3,"time":"2017-04-26T11:18:28+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"KathrynSavage65","version":"11.0.3.2"}
{"reqId":"WJ3h5SVkcqieFc3v3VFA","remoteAddr":"24.95.128.194","app":"PHP","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#104","level":3,"time":"2017-04-26T11:18:28+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"KathrynSavage65","version":"11.0.3.2"}
{"reqId":"JyF+5AY5FglWSnyIT+V1","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#146","level":3,"time":"2017-04-26T11:18:36+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"JyF+5AY5FglWSnyIT+V1","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#101","level":3,"time":"2017-04-26T11:18:36+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"JyF+5AY5FglWSnyIT+V1","remoteAddr":"24.95.128.194","app":"PHP","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#104","level":3,"time":"2017-04-26T11:18:36+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"eoNhxL2isxh692ocj+93","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#146","level":3,"time":"2017-04-26T11:18:37+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"eoNhxL2isxh692ocj+93","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#101","level":3,"time":"2017-04-26T11:18:37+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"eoNhxL2isxh692ocj+93","remoteAddr":"24.95.128.194","app":"PHP","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#104","level":3,"time":"2017-04-26T11:18:37+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"QMS+wPL7uColX1FhSrIY","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#146","level":3,"time":"2017-04-26T11:18:37+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"QMS+wPL7uColX1FhSrIY","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#101","level":3,"time":"2017-04-26T11:18:37+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"QMS+wPL7uColX1FhSrIY","remoteAddr":"24.95.128.194","app":"PHP","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#104","level":3,"time":"2017-04-26T11:18:37+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Uploaded%20on%2011.2.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"OY950tfOTjU8L6TCdv7A","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#146","level":3,"time":"2017-04-26T11:18:40+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Reuploaded%20after%2011.3.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"OY950tfOTjU8L6TCdv7A","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#101","level":3,"time":"2017-04-26T11:18:40+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Reuploaded%20after%2011.3.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"OY950tfOTjU8L6TCdv7A","remoteAddr":"24.95.128.194","app":"PHP","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#104","level":3,"time":"2017-04-26T11:18:40+00:00","method":"GET","url":"\/s\/YUwIcKTVdk0gFOx\/download?path=%2F&files=Desktop%2004.14.2017%20-%2015.10.07.03.DVR-Reuploaded%20after%2011.3.mp4","user":"--","version":"11.0.3.2"}
{"reqId":"eldpho7AL1Sd3\/6KuOYS","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#146","level":3,"time":"2017-04-26T11:18:41+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","user":"BetaLeaf","version":"11.0.3.2"}
{"reqId":"eldpho7AL1Sd3\/6KuOYS","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#101","level":3,"time":"2017-04-26T11:18:41+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","user":"BetaLeaf","version":"11.0.3.2"}
{"reqId":"eldpho7AL1Sd3\/6KuOYS","remoteAddr":"24.95.128.194","app":"PHP","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#104","level":3,"time":"2017-04-26T11:18:41+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","user":"BetaLeaf","version":"11.0.3.2"}
{"reqId":"8frFSXTMxK\/aMQX\/KdDt","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#146","level":3,"time":"2017-04-26T11:18:46+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"KathrynSavage65","version":"11.0.3.2"}
{"reqId":"8frFSXTMxK\/aMQX\/KdDt","remoteAddr":"24.95.128.194","app":"PHP","message":"array_merge(): Argument #2 is not an array at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#101","level":3,"time":"2017-04-26T11:18:46+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"KathrynSavage65","version":"11.0.3.2"}
{"reqId":"8frFSXTMxK\/aMQX\/KdDt","remoteAddr":"24.95.128.194","app":"PHP","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Files\/Type\/Detection.php#104","level":3,"time":"2017-04-26T11:18:46+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"KathrynSavage65","version":"11.0.3.2"}
	```
</details>

#### Browser log
<details>
	<summary>Browser log</summary>
```jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.0```
</details>

Video doesn't scale in fullscreen (public video share)

Expected behaviour

In fullscreen mode, video scales across the whole display.

Actual behaviour

Video doesn't scale, screen is filled with black around the video content instead.

Steps to reproduce

  1. Click the fullscreen icon
  2. Observe the error
  3. cry

Nextcloud 15.0.0
Video player 1.4.0
Error is present in latest Chrome, latest FF, IE 11. Windows and Linux (OSX wasn't tested)
Other players based on video.js behave as expected.
screenshot : https://i.imgur.com/I7nxHDZ.png

NextCloudPi crash after copy files_videoplayer

Hi,

i have problem with installation of your player.

When i am trying clone it to folder /apps/files_videoplayer with rights:

drwxr-xr-x 2 www-data www-data   4096 jún 28 12:30 appinfo
drwxr-xr-x 2 www-data www-data   4096 jún 28 12:30 css
drwxr-xr-x 2 www-data www-data   4096 jún 28 12:30 img
-rwxr-xr-x 1 www-data www-data    681 jún 28 12:30 issue_template.md
drwxr-xr-x 2 www-data www-data   4096 jún 28 12:30 js
-rwxr-xr-x 1 www-data www-data    513 jún 28 12:30 README.md
-rwxr-xr-x 1 www-data www-data 112196 jún 28 12:30 screenshot.jpg
drwxr-xr-x 3 www-data www-data   4096 jún 28 12:30 videojs

my NextCloudPi crash with error:

The files of the app Video player (files_videoplayer) were not replaced correctly. Make sure it is a version compatible with the server.`

System info:

NextCloudPi version v0.57.16
NextCloudPi image   NextCloudPi_05-28-18
distribution    Raspbian GNU/Linux 9 \n \l
data filesystem btrfs
Nextcloud check ok
Nextcloud version   13.0.4.0

Steps to reproduce

  1. clone project from git,
  2. update users and groups by text above,
  3. reload web interface,
  4. error message by above.

Please can you help me, what i doing wrong?

Thank you.
Lukas

Videos bigger than 2GiB do not play

Hi, I'm assuming the file size is the problem here because smaller videos encoded with the same software at the same settings stream just fine.
In case you need information about the codecs used, I have included them below.

Expected behaviour

Videos bigger than 2GiB play like usual

Actual behaviour

Streaming videos bigger than 2GiB fails with the message "The video could not be loaded, either because the server or network failed or because the format is not supported."
Downloading the file and playing it from the disk in Firefox works as expected, I couldn't stream it from Nextcloud as the file downloads automatically.

Steps to reproduce

  1. Upload video with a file size higher than 2 GiB
  2. Attempt to stream it from Nextcloud

Codec info

I'm attaching the (shortened) Codec info from VLC here:

Stream 0
    Codec: H264 - MPEG-4 AVC (part 10) (avc1)
    Resolution: 720x578
    Frame rate: 25
Stream 1
    Codec: MPEG AAC Audio (mp4a)
    Channels: stereo
    Sample rate: 48000 Hz
Stream 2
    Codec: MPEG AAC Audio (mp4a)
    Sample rate: 48000 Hz
    Bits/sample: 16
    Bit rate: 1536 kB/s
Stream 3
    Codec: DVD Subtitles (spu )
Stream 4
    Codec: DVD Subtitles (spu )
Stream 5
    Codec: tx3g

only plays webm and mp4 files, no avi or any other

Video doesn't play?

if the viceo player only plays html5 supported, added support for other formats..

Expected behaviour

plya any format

Actual behaviour

only html5 formats or webm and mp4

Steps to reproduce

  1. upload an avi file
    2.play that file
  2. no video

Update video.js to latest version

The latest version of video.js is 5.13.2, and it seems we are using an arbitrarily older version ( 4.12.11 )

I am wondering if a) there is a specific reason we are using such an old version and b) is there a plan to update video.js to the latest version

Can't close the player

Expected behaviour

I can't close the player while or after playing a video.
There is no "x" or something else to close. I have to F5 the nextcloudpage to continue my work.

Steps to reproduce

  1. Install nextcloud 12
  2. play a Video (Chrome / Firefox)

Greets from Germany

Video Playback - White Screen

Steps to reproduce

  1. Upload Video
  2. Play Video
  3. Video playback is white. Audio still plays.
    image

Expected behaviour

Video window should contain the video content.

Actual behaviour

Video playback is white.

Server configuration

Operating system: Ubuntu 16.04.1

Web server: Apache

Database: MySQL

PHP version: 7.x

Nextcloud version: (see Nextcloud admin page)
Where did you install Nextcloud from: Nextcloud Site

Enabled:
  - activity: 2.3.2
  - comments: 1.0.0
  - dav: 1.0.1
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_pdfviewer: 0.8.1
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 15.0.1
  - notifications: 0.3.0
  - password_policy: 1.0.0
  - provisioning_api: 1.0.0
  - serverinfo: 1.1.1
  - survey_client: 0.1.5
  - systemtags: 1.0.2
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 1.0.1
  - workflowengine: 1.0.1
Disabled:
  - admin_audit
  - encryption
  - external
  - files_accesscontrol
  - files_automatedtagging
  - files_external
  - files_retention
  - user_external
  - user_ldap
  - user_saml

The content of config/config.php:

Config report
{
    "system": {
        "instanceid": "oczmq41kthi1",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.publicserver.xyz"
        ],
        "datadirectory": "\/var\/www\/nextcloud\/data",
        "overwrite.cli.url": "https:\/\/cloud.publicserver.xyz",
        "dbtype": "mysql",
        "version": "9.1.2.2",
        "dbname": "NextCloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/",
        "updater.release.channel": "stable",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 2
    }
}

Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Chrome
Operating system: Ubuntu 16.04.1

Originally copied from nextcloud/server#3015

a place for Videos as smae for "Music" app

Expected behaviour

See a "Videos" place in menu same as "Music" or "Gallery" does..

Actual behaviour

no "Video" place in menu, only "Music" and "gallery" ..

How could i put a "Videos" icon on menu when i enabled this plugin, i'll try to follow the same for "Music" app but not lucky..

i'm not coder or programer, so please explain me, i know some of php...

Install app from npm

Should make incremental upgrades easier. As well as just provide 1 big asset instead of countless small ones ;)

Close Icon X is missing

Expected behaviour

Bring back the close icon

Actual behaviour

There is no close icon X. There is no way to leave the Video Player?!

Steps to reproduce

  1. Click on a Video
  2. Find the Close Icon (X) 😉

Tested on Nextcloud 12.0 beta 1 with Video player 1.1.0

Tested with latest Firefox and Chrome

Unable to play .mkv or .avi

Expect behaviour

Just like the mp4 files the video would play in the videoplayer

Actual Behaviour

When a .avi or .mkv file is clicked it downloads

Portrait videos don't play

Expected behaviour

'Portrait' videos (more vertical pixels than horizontal ones) should play in a custom-sized window.

Actual behaviour

On 'portrait' videos, a standard landscape-sized window opens. The video appears to play, but the window stays black. Audio is played though.

Steps to reproduce

Open a 'portrait' video from the files app in Nextcloud 12

Add subtitles support via existing videojs-ass plugin

There's an existing videojs plugin which adds support for ASS/SSA subtitles.

https://github.com/SunnyLi/videojs-ass

videojs('player_id', {
  plugins: {
    ass: {
      src: 'subs/subtitles.ass'
    }
  }
}

Ideally, the implementation in nextcloud should check if there are ASS/SSA files starting w/ the same name as the video file and add the first one as in the above example.
The videojs-ass plugin doesn't support (yet) multiple subtitles, so for starters only the first matching file could be loaded.

Cant close video window after upgrade to nc12

Expected behaviour

If i try to play some video from files app it should have a close button or close by pressing ESC.

Actual behaviour

There is no way to get back to the file list, the video is over the window.

Steps to reproduce

  1. Play some video from the file app
  2. There is no close button

Video rewind does not work.

My details: (Crome browser, Nextcloud 12.1, Nginx 1.11.8 (cache purge), PHP 7.1.8).
I turn on the video mp4, playback starts. When you try to rewind, the video is reset and starts playback from the very beginning.

Actual behaviour

The video should be played from the moment I place the cursor.

Steps to reproduce

  1. Download to Nexcloud 12.1 any mp4 video in the Chrome browser (on Nginx).
  2. Press Playback.
  3. Try to rewind.

(P.S. In Mozilla Firefox and Internet Explorer works fine.)

Support live transcoding

Are there any plans of implementing support for live transcoding of unsupported file formats/codecs?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.