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
I found a way to switch between inline and fullscreen video on iOS since they added a playsinline attribute to safari mobile from iOS 10 and up.
https://webkit.org/blog/6784/new-video-policies-for-ios/
The video would have these attributes:
<video playsinline webkit-playsinline></video>
When clicking the fullscreen button on iOS you would:
vid.removeAttribute('playsinline'); vid.removeAttribute('webkit-playsinline'); vid.play();
Then when you detect the fullscreen closing:
document.addEventListener('fullscreenchange', function() { if (!isFullScreen ()) { vid.setAttribute('playsinline', ''); vid.setAttribute('webkit-playsinline', ''); } }
The text was updated successfully, but these errors were encountered:
I am so sorry, I didn't see this issue until now, many months later, my apologies. Thanks for the information.
Sorry, something went wrong.
No branches or pull requests
I found a way to switch between inline and fullscreen video on iOS since they added a playsinline attribute to safari mobile from iOS 10 and up.
https://webkit.org/blog/6784/new-video-policies-for-ios/
The video would have these attributes:
When clicking the fullscreen button on iOS you would:
Then when you detect the fullscreen closing:
The text was updated successfully, but these errors were encountered: