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 audio-only elements not playing #4683

Merged
merged 1 commit into from
Sep 28, 2021
Merged

Fix audio-only elements not playing #4683

merged 1 commit into from
Sep 28, 2021

Conversation

netpro2k
Copy link
Contributor

There was a regression in #4640 that caused audio-only elements (like pasting in an mp3 file directly) from playing correctly. This is due to a race in hasAudioTracks. This "fixes" that race by avoiding the check for 0 size videos (which by our other checks means it is an audio-only element).

@netpro2k netpro2k requested a review from keianhzo September 28, 2021 21:22
@netpro2k netpro2k merged commit 87e44db into master Sep 28, 2021
@netpro2k netpro2k deleted the fix-audio-elements branch September 28, 2021 21:39
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.

1 participant