:playing
Limited availability20% of users
A selector that matches a media element (like <video> or <audio>) when it is currently playing.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Chrome or Edge yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick example
video:playing {
/* Adds a subtle 'on' state glow when the video is active */
box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}:playing browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage20%of people can use this80% use a browser without it.
Browsers
150+
15.4+Mobile
150+Android
15.4+iOS
Interop 2026 focus area. All major browsers are actively working to fix cross-browser inconsistencies for this feature in 2026. Learn more →