Playlist
Use a playlist to handle multiple videos and images. You can combine them in any kind they will play after each other.
Table of contents
Structure
The playlist visualization app is an array of playlist items. The order of the items is also the order of playback. Each playlist item can either be an image or a video. Images and videos can be combined in a playlist. The playlist items require an URI which defines the location of the media.
{
"type": "PLAYLIST",
"config": {
"items": [
{
"type": "IMAGE",
"uri": "https://cdn.pixabay.com/photo/2020/02/13/21/21/lighthouse-4846854_960_720.jpg",
"duration": 5
},
{
"type": "VIDEO",
"uri": "https://player.vimeo.com/external/135736646.hd.mp4?s=ed02d71c92dd0df7d1110045e6eb65a6&profile_id=119",
"duration": 5
},
{
"type": "VIDEO",
"uri": "file://testvideo.mp4"
}
]
}
}
Validation
For each playlist item:
Config parameter | Description | Required | Allowed Values | Default |
---|---|---|---|---|
type | Media type of playlist item | x | IMAGE or VIDEO | |
uri | URI of the stream to be shown | x | URI | |
duration | Time the playlist item is played (in seconds) | integer and > 0 |
Restrictions
There are no restrictions on the stream visualization app. It runs on all visualization devices.