:stalled
A selector that matches a media element (like <video> or <audio>) when it tries to fetch data but can't because of a slow network or connection issues.
Syntax
/* Usage Example */
video:stalled {
/* Shows a loading state or adds a semi-transparent overlay when the video buffers */
opacity: 0.5;
transition: opacity 0.3s;
}
:stalled Browser support
Limited availability
Since
2020 13% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
15.4+