Skip to content
On this page

VVideoPlayer

Base class for video-player

Props

NameTypeDescription
posterstringReference to an image which is displayed before the video is played
srcstringURL of a video file
autoplaybooleanAllows the video will play automatically (muted)
loopbooleanAllows the video to loop back to the beginning when finished
playback-ratesstringSets the available playback rates. When an empty string, no choices will be available
skip-byEnum:
0
5
10
30
Allows the video to loop back to the beginning when finished

Events

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

Slots

NameDescription
defaultDefault slot