VVideoPlayer
Base class for video-player
Props
Name | Type | Description |
---|---|---|
poster | string | Reference to an image which is displayed before the video is played |
src | string | URL of a video file |
autoplay | boolean | Allows the video will play automatically (muted) |
loop | boolean | Allows the video to loop back to the beginning when finished |
playback-rates | string | Sets the available playback rates. When an empty string, no choices will be available |
skip-by | Enum:0 5 10 30 | Allows the video to loop back to the beginning when finished |
Events
Name | Event Type | Description |
---|---|---|
play | CustomEvent<undefined> | Fired when the video is played |
pause | CustomEvent<undefined> | Fired when the video is paused |
ended | CustomEvent<undefined> | Fired when the video is ended |
Slots
Name | Description |
---|---|
default | Default slot |