跳到主要内容

VideoProps

Video component properties interface.

Properties

src

src: string;

Video source address.

play

play: boolean;

Whether to autoplay.

loop

loop: boolean;

Whether to loop the video.

volume

volume: number;

Volume (0-1).

playbackRate

playbackRate: number;

Playback rate.