Components/VideoPlayer

VideoPlayer

HTML5 video wrapper with custom controls, poster image, and subtitle support.

Installation

Examples

Custom player

Play, pause, seek bar, volume, and fullscreen.

poster
4:12
1:24 / 4:12

API Reference

PropTypeDefaultDescription
src*stringrequiredVideo source URL.
posterstringThumbnail image URL.
autoPlaybooleanfalseStart playing on mount.
mutedbooleanfalseMute audio on mount.
controlsbooleantrueShow custom control bar.
loopbooleanfalseLoop the video.
widthstring|number'100%'Container width.