1.0.1 • Published 7 years ago
@veams/component-video v1.0.1
Video
Description
A video component supporting WebM, MP4 and Subtitles.
Installation
Installation with Veams
veams install component videoveams -i c videoFields
video.hbs
Settings
| 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. |
Content
| 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. |