Skip to content

VVideoPlayer

Base class for video-player

Props

NameTypeDescription
autoplaybooleanSets the video to start playing automatically after loading
loopbooleanSets the video to loop
playback-ratesstringSets the possible playback rates
posterstringReference to poster image's source
skip-byEnum:
0
5
10
30
Sets the amount to skip
srcstringReference to the video's source

Events

NameEvent TypeDescription
endedCustomEvent<undefined>Fired when the video is ended
pauseCustomEvent<undefined>Fired when the video is paused
playCustomEvent<undefined>Fired when the video is played

Slots

NameDescription
defaultDefault slot