VVideoPlayer
Base class for video-player
Props
| Name | Type | Description |
|---|---|---|
| autoplay | boolean | Sets the video to start playing automatically after loading |
| loop | boolean | Sets the video to loop |
| playback-rates | string | Sets the possible playback rates |
| poster | string | Reference to poster image's source |
| skip-by | Enum:051030 | Sets the amount to skip |
| src | string | Reference to the video's source |
Events
| Name | Event Type | Description |
|---|---|---|
| ended | CustomEvent<undefined> | Fired when the video is ended |
| pause | CustomEvent<undefined> | Fired when the video is paused |
| play | CustomEvent<undefined> | Fired when the video is played |
Slots
| Name | Description |
|---|---|
| default | Default slot |