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

fix: fixed safari mobile playback for mp4 #342

Merged
merged 2 commits into from
Jun 12, 2023
Merged

Conversation

0xcadams
Copy link
Member

Description

Fixed Safari not emitting canplay event with autoplay disabled, and replaced this event with loadedmetadata to know when the video is ready for playback.

@0xcadams 0xcadams requested a review from a team as a code owner June 12, 2023 22:51
@vercel
Copy link

vercel bot commented Jun 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
livepeerjs-with-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2023 11:11pm
livepeerjs-with-svelte ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2023 11:11pm
lvpr-tv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2023 11:11pm

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

Successfully merging this pull request may close these issues.

Safari HTML5 video element doesn't emit canplay event unless you're YouTube
1 participant