-
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
using custom controls and poster on iphones #2365
Comments
Also, |
The issue is partly that the tech is supposed to trigger |
Fixes videojs#2365. Also, wrap the trigger in a setTimeout. This is because otherwise, the player will never be able to hear this event since it happens in the constructor of the tech and the player adds listeners after the tech has been created.
I'm inclined to continue displaying native controls on iPhones by default. We should probably take another pass at custom controls some point soon, though. |
Fixes videojs#2365. Also, wrap the trigger in a setTimeout. This is because otherwise, the player will never be able to hear this event since it happens in the constructor of the tech and the player adds listeners after the tech has been created.
@gkatsev did a PR get merged for this? |
Yes. This can be closed. |
Loading up the player on iphones will currently display our custom controls and our custom poster element. This is an issue because on some iOS versions, our big play button will not work. It seems like on iOS 8, it might work under some circumstances, but I'm not certain it will work across the board.
The best solution is probably to just hide our poster and controls on iphones.
Thoughts, @videojs/core-committers
The text was updated successfully, but these errors were encountered: