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
videoAiVideoDataVideo data with url, dimensions, duration
loadingbooleanfalseShow loading state
errorstringError message to display
autoplaybooleanfalse
controlsbooleantrue
loopbooleanfalse
mutedbooleanfalse

Slots

  • default
  • loading
  • error
  • empty
  • info