import '@app/styles.css'; // SimpleHlsVideo + Video.js integration sandbox // http://localhost:5173/simple-hls-html/ // // Tests SimpleHlsVideo fully integrated into a VJS player with UI controls. // wraps and attaches it to the player store. // // Icon visibility is driven by data-* attributes set by the button elements: // media-play-button: [data-paused], [data-ended] // media-mute-button: [data-muted] import '@videojs/html/video/player'; import '@videojs/html/media/container'; import '@videojs/html/media/simple-hls-video'; import '@videojs/html/ui/play-button'; import '@videojs/html/ui/mute-button'; import { pauseIcon, playIcon, restartIcon, volumeHighIcon, volumeOffIcon } from '@videojs/html/icons'; const html = String.raw; document.getElementById('root')!.innerHTML = html`
${playIcon} ${pauseIcon} ${restartIcon} ${volumeHighIcon} ${volumeOffIcon}
`;