: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.

Quick 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 13% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Not ready for production without a fallback.

15.4+
ESC