Skip to content
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

Custom controls bar is cannot be toggled in full screen mode #4

Open
jmarti705 opened this issue Jun 19, 2018 · 1 comment
Open

Custom controls bar is cannot be toggled in full screen mode #4

jmarti705 opened this issue Jun 19, 2018 · 1 comment

Comments

@jmarti705
Copy link

Custom controls bar is cannot be toggled in full screen mode in Chrome (not sure about other browsers at the moment). It looks to be some quirky z-index by the "video:-webkit-full-screen" user agent Chrome style sheet. I have for some hours try to add new positioning and z-indexing to parents its and the controls without any luck of getting the controls bar z-index to be higher that the video to make it interactive. Please let me know if there is so solution you can help with.

You can replicate the issue but clicking fullscreen mode here and then trying to toggle the custom control bar options. http://iandevlin.github.io/mdn/video-player/

@jmarti705
Copy link
Author

This is resolved by calling the browser fullscreen api on an parent div container only and not the

Found solution answer here https://css-tricks.com/custom-controls-in-html5-video-full-screen/
with help form James Edwards comment https://css-tricks.com/custom-controls-in-html5-video-full-screen/#li-comment-561384

Help is helps anyone since this bug was hard to trace for me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant