VideoConfig
Config for the video source, mainly standard attributes for the video element.
interface VideoConfig
Properties
If true
, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.
muted should be true
to enable this option.
If true
, the browser will automatically seek back to the start upon reaching the end of the video.
Whether to initially set video silenced.
This should be true
to enable autoplay.
Initial volume. (0~1)
Properties
autoplay
autoplayboolean
If true
, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.
muted should be true
to enable this option.
loop
loopboolean
If true
, the browser will automatically seek back to the start upon reaching the end of the video.
muted
mutedboolean
Whether to initially set video silenced.
This should be true
to enable autoplay.
volume
volumenumber
Initial volume. (0~1)