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

Sort out autoplay data #23635

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Sort out autoplay data #23635

wants to merge 1 commit into from

Conversation

queengooborg
Copy link
Collaborator

This PR sorts out the data regarding the autoplay attribute on <audio> and <video> elements, which resolves #7342.

When looking at the data, I happened to notice that the only mention of autoplay prohibited with an audio track was a note on Safari iOS, but from my own development experience, I found that Chrome Desktop also prohibited autoplaying audio. As such, I decided to add a new subfeature for the attribute on the <video> element according to my findings.

Additionally, I had marked the attribute on <audio> elements as unsupported for when the browsers blocked automatic playback of audio. Although the browser may recognize the attribute and it may still be present on the interface counterpart, setting the attribute will do nothing.

@github-actions github-actions bot added the data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML
1 participant