AiVideoPlayer
Video Player
AI-generated video playback with loading states and duration display.
0:00 / 0:06
Usage
<AiVideoPlayer :video="{ url: '/video.mp4', duration: 30 }" :controls="true" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| video | AiVideoData | — | Video data with url, dimensions, duration |
| loading | boolean | false | Show loading state |
| error | string | — | Error message to display |
| autoplay | boolean | false | — |
| controls | boolean | true | — |
| loop | boolean | false | — |
| muted | boolean | false | — |
Slots
defaultloadingerroremptyinfo