VideoPlayer
HTML5 video wrapper with custom controls, poster image, and subtitle support.
Installation
Examples
Custom player
Play, pause, seek bar, volume, and fullscreen.
4:12
1:24 / 4:12
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| src* | string | required | Video source URL. |
| poster | string | — | Thumbnail image URL. |
| autoPlay | boolean | false | Start playing on mount. |
| muted | boolean | false | Mute audio on mount. |
| controls | boolean | true | Show custom control bar. |
| loop | boolean | false | Loop the video. |
| width | string|number | '100%' | Container width. |