Video Player
View in FigmaA media player with play/pause, seek, volume controls, and auto-hiding overlay.
Media & VisualsImport
import { VideoPlayer } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | — | Video source URL. |
| poster | string | — | Poster image URL. |
| autoPlay | boolean | false | Start playing automatically. |
| loop | boolean | false | Loop playback. |
| muted | boolean | false | Start with audio muted. |
| showControls | boolean | true | Display playback controls. |