-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari: fullscreen button is not working #8339
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
I can't reporduce on the same verison of Safari, and haven't seen any other reports. |
It can be reproduced also via browserstack.com. Just select Safari version 15.6 or lower and open URL with videojs 8.3 - https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0 and when video starts playing -> try to click on fullscreen mode. On the newer version of Safari, it works correctly. |
@shastik I did a quick test on Browserstack with Safari 15.6 and I was able to reproduce the issue with video.js v8.x.x. I checked the diff between v7.21.4..v8.0.0, I came across this modification which seems to be the cause of this behavior. This will require investigation to understand the intention behind the change. In the meantime, perhaps this workaround can help. Please note I haven't tested the side effects it could potentially have. .video-js {
display: block;
} |
Sorry I misread that as 16.5.1. This would be a less impactful change, only affecting fullscreen.
FWIW |
Thank you @mister-ben and @amtins . Your fix is working correctly. |
Just to say this affects iPadOS 15.7.7 / iPad Mini 4 as well. Confirm the workaround fixes the issue. |
Description
Hello,
when I try to open video in fullscreen on MacOS in Safari 15.6.1 it is not working. It will display a broken control bar. See screenshot: https://ibb.co/LYpPVGz There is no error message in browser console.
It does not work on version 8.3. In the older version of
videojs
fullscreen mode works correctly.It can be reproduced by running this code https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0 in Safari on MacOS:
Reduced test case
https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0
Steps to reproduce
Errors
No response
What version of Video.js are you using?
8.3
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Safari 15.6.1
What OS(es) and version(s) does this occur with?
MacOS
The text was updated successfully, but these errors were encountered: