Youtube allows user to play a youtube video
Properties
Parameter | Description |
---|---|
Control Name | By default, the control name is posted as youtube_1. Can be changed by the user using alphabets, numbers and special character (_). The maximum character limit is 100. |
Display | By default, display will be posted as show |
Autoplay | Video will be auto played one after the other |
Mute | Video will be muted once the mute option is used |
Type | Choose the type from Single, Play List, Multiple |
Video ID | Video ID is a unique ID taken from Youtube Video’s URL |
Layout Order | First preference to view while placing once control over the other |
Type – Single
While selecting the Type – Single, single video will be played
Copy the URL from youtube video and paste in Video ID
Type – Playlist
While selecting the Type – Playlist, Video will be played one after the other when given a list.
Type – Multiple
While selecting the Type – Multiple, Multiple videos can be played
Style
Choose the layout design and color for the line.
Layout
Parameter | Description |
---|---|
Width | Define the width. By default width will be defined as 318. Minimum value is 200 and maximum will be user defined |
Height | Define the height. By default height will be defined as 200. Minimum value is 200 and maximum will be user defined |
Data
Parameter | Description |
---|---|
Data Model | Choose the model. Model chosen from the backend will be uploaded in the front end |
Data Field | Choose the field |
Events
Define the events that are to be triggered whenever there is a change.
Parameter | Description |
---|---|
onError | Define an action that is to be performed when there is a error |
onReady | Define an action that is to be performed when the video is ready |
onStateChange | Define an action that is to be performed when there is a change in state |