# HLS Media Adaptive HLS video and audio elements that play a manifest through the same shells as a progressive file, filling the quality menu from the renditions the stream declares. ## Installation ```bash npx shadcn@latest add litingyes/blocove/hls-media ``` This example also uses: `video-player`, `audio-player`. ```bash npx shadcn@latest add litingyes/blocove/video-player litingyes/blocove/audio-player ``` The adaptive elements play an HLS manifest through the shells you already composed: the player and the skin do not change, the quality menu fills itself from the renditions the manifest declares, and captions stay plain `tracks` data. Video.js 10 ships the stream engine, so HLS plays over Media Source Extensions without another dependency, and the engine resolves the segment URIs relative to the manifest it was given. `streamType` defaults to the detected value; pin it when you know the delivery up front, for example `streamType="live"` inside the live shell. The demos play the committed fixtures generated by `scripts/generate-media-samples.sh`. ## API Reference ### HlsVideoMedia The adaptive `