-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Steps to reproduce
- Use v21
- Play a video
- Use the players 'full screen' icon to maximize to full screen
Expected behaviour
Play the video, resized to full screen
Actual behaviour
When enlarging a video during playback using the double arrows in the player, the browser display does maximize to full screen, but the video itself keeps playing in its smaller resolution. I happen to have 2 nextcloud instances running. One on version 20 and one on version 21. The older version does not have this behaviour! Regression?
See attached images:
Server configuration
Operating system:
Arch
Web server:
NGINX
Database:
MariaDB
PHP version:
Nextcloud version: (see Nextcloud admin page)
21.0.0
(correct working version 20.0.4)
Updated from an older Nextcloud/ownCloud or fresh install:
No, fresh install
Where did you install Nextcloud from:
Pacman, arch repo
My own analysis
The difference between the two versions using the browser developertools show that in the correctly working version javascript dynamically updates the style of:
#viewer > div.modal-wrapper.modal-wrapper--large.modal-wrapper--spread-navigation > div > div > div.viewer__file.viewer__file--active
in the newer, faulty version, the javascript instead updates the style of the video element under:
#viewer > div.modal-wrapper.modal-wrapper--large.modal-wrapper--spread-navigation > div > div > div.viewer__file.viewer__file--active > div > div.plyr__video-wrapper
In both cases the height and width of the specified elements are set. If you remove these tags using the developertools, the video behaves as expected and will play fullscreen.

