ReferenceSkins
CompatLiveVideoSkin
The live video preset's plain, unbranded skin, a polished step above native controls
The Compat skin of the live video preset: the same core controls with plain, unbranded surfaces that avoid newer visual effects such as backdrop blur. It puts a large play button in the center, fullscreen, picture-in-picture, Cast, and AirPlay in a top corner, and a Live button in place of time controls. The preset also provides LiveVideoSkin, NeutralLiveVideoSkin, and ScaffoldLiveVideoSkin. See Skins to choose between them and Customize skins to install and edit its source.
Import
Anatomy
The skin goes between the player and the media component. It renders its controls around the media.
This uses the lightweight HLS video element because most browsers can’t play HLS streams with a plain <video>. See Play live streams.
Poster
The skin renders a poster image before playback starts. Pass renderPoster to replace it with your own component.
See Add a poster and loading placeholder for complete examples.
Controls before playback
Before playback starts, the skin shows only the large center play button. The other controls appear once playback starts or the media begins to autoplay. Set --media-controls-before-start: visible to show them from the start. See Customize skins.
Styling
Packaged skins style themselves and expose a small set of public CSS custom properties. Everything else inside the skin is private and may change between releases. Customize skins documents the properties. For deeper changes, the Video.js registry provides the skin files.
Examples
Basic Usage
Own the UI
Packaged skins keep their controls and layout inside Video.js. When you need to add, remove, rearrange, or deeply restyle controls, use Shadcn to add the skin source to your project. Its components, layout, styles, and interactions become local files you can change.