-
Notifications
You must be signed in to change notification settings - Fork 37
Video doesn't scale in fullscreen (public video share) #77
Comments
I can't reproduce this. Is there an error message in the browser console?
Also, please try to reload the page without browser cache. Should happen on its own when you have the dev tools open. |
Thanks, DevTools unfortunately don't affect the behaviour, neither FF, Chome, regardless on the OS. Here is a live example: |
I see, so it only happens on the public share page. That's a good info and I see it now. The custom video player was only added to that page in the last few updates, so there must be an error somewhere. Probably CSS that doesn't work, because the whole structure of that page is different. We'll look into it. |
Allright, Thanks! |
No worries, thanks for reporting it. :) @juliushaertl I don't know when I got time to look at this. Maybe you can find the problem faster since you did the implementation on the public share page (731a2ef - 21fc17b). Part of the problem is with this CSS:
When you remove it, the video is fine in fullscreen, but the normal player is not visible. video.js also throws an exception on the public video page. |
@Instagit I'll have a look. |
Tested on: Chrome 71, Firefox 57, Safari 12
I've proposed some changes that fix this. |
Tested, LGTM |
Tested on: Chrome 71, Firefox 57, Safari 12 Co-authored-by: Patrick Robertson <robertson.patrick@gmail.com> Signed-off-by: Julius Härtl <jus@bitgrid.net>
Fill screen in fullscreen mode for public videos. Fixes #77
Tested on: Chrome 71, Firefox 57, Safari 12 Signed-off-by: Julius Härtl <jus@bitgrid.net>
[stable15] Fill screen in fullscreen mode for public videos. Fixes #77
I'm not sure if something got added that broke this again, but there are a few issues with shared link video in fullscreen on ios mobile. using Safari and other browsers gives same result.
and sometimes hitting the full screen arrows just goes to the next video/image and doesn't function at all. |
The files video player is now part of https://github.com/nextcloud/viewer so please open a new issue over there. |
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
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
The text was updated successfully, but these errors were encountered: