Video Player
Feature-rich HTML5 video player with custom controls, progress seeking, volume, playback rate, fullscreen, and CSS custom property theming.
$ npm install @bloc-ui/video-player
Basic Usage
Pass a video URL and optional poster image. All controls are built in.
Autoplay + Loop (Muted)
Autoplaying videos must be muted to comply with browser policies. Loop keeps them repeating.
Events
Listen to play, pause, ended, and timeUpdate events to react to playback state changes.
⏱ Time: 0:00📊 Progress: 0%