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

Media element pseudo-classes #878

Open
stubbornella opened this issue Oct 9, 2024 · 0 comments
Open

Media element pseudo-classes #878

stubbornella opened this issue Oct 9, 2024 · 0 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@stubbornella
Copy link

stubbornella commented Oct 9, 2024

Description

Developers would like to control more of the audio/video user experience. The :playing, :paused, :seeking, :buffering, :stalled, :muted, and :volume-locked CSS pseudo-classes match <audio> and <video> elements based on their state.

Specification

https://www.w3.org/TR/selectors-4/#resource-pseudos

WPT

css/selectors/media/media-loading-state.html
css/selectors/media/media-playback-state.html
css/selectors/media/sound-state.html

Additional Signals

Could be used by sites like Vimeo, YouTube, etc

@stubbornella stubbornella added the focus-area-proposal Focus Area Proposal label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

1 participant