We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, on iOS 14.2 the canAutoPlay.video() opens a fullscreen overlay of the test with 0 seconds. Can we prevent this?
The text was updated successfully, but these errors were encountered:
That probably makes sense since the default is inline:false, https://github.com/video-dev/can-autoplay/blob/master/lib/index.js#L8 The quick fix is for you to pass inline: true to .video().
inline:false
inline: true
.video()
canAutoplay.video({ inline: true });
I wonder whether we should default inline to true.
Sorry, something went wrong.
Definitely set inline as true by default, otherwise it's broken on iOS, just ran into this in some code that was in production and it sucked.
inline
true
No branches or pull requests
Hi,
on iOS 14.2 the canAutoPlay.video() opens a fullscreen overlay of the test with 0 seconds.
Can we prevent this?
The text was updated successfully, but these errors were encountered: