A video component supporting WebM, MP4 and Subtitles.
veams install component video
veams -i c video
Parameter | Type | Value | Description |
---|---|---|---|
settings.videoContextClass | String | default |
Context class of component. |
settings.videoClasses | String | Modifier classes for component. | |
settings.videoOptions | String | Apply multiple options as string. |
Parameter | Type | Description |
---|---|---|
content.videoPoster | String | Url to a poster image. |
content.videoMp4 | String | Url to mp4 video file. |
content.videoWebm | String | Url to webm video file. |
content.videoTrack | Object | Object which contains tracking data. |
content.videoTrack.trackSrc | String | Url to track file. |
content.videoTrack.trackSubtitle | String | Subtitle. |
content.videoTrack.trackLang | String | Language. |
content.videoTrack.trackLabel | String | Label. |