Playlist is a curated collection of video content organized in a sequential manner.
This method offers several advantages and features that are typical of live streaming but with more control over the content. Here’s how it works:
You can add new videos to the list, remove unnecessary videos, or change the order of videos in the list. But please pay attention to when the video list changes, it is updated instantly on the server. This means that after saving the changed list, the playlist will be reloaded for all users and it will start plays from the very first element.
Maximum video limit = 128 videos in a row.
Examples of usage:
Looped video playback
It can be used to simulate TV channel pre-programmed behaviour.
Example:
active: true
loop: true
name: "Playlist: TV channel 'The world around us' (Programmed broadcast for 24 hours)"
Scheduled playback
It can be used to simulate live events such as virtual concerts, webinars, or any special broadcasts without the logistical challenges of an actual live stream.
active: true
loop: false
name: "Playlist: Webinar 'Onboarding for new employees on working with the corporate portal'"
start_time: "2024-07-01T11:00:00Z"
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Playlist name
Current playlist client ID
Enables/Disables playlist. Has two possible values:
Playlist start time. Playlist won't be available before the specified time. Datetime in ISO 8601 format.
Enables/Disables playlist loop
A list of VOD IDs included in the playlist. Order of videos in a playlist reflects the order of IDs in the array.
Maximum video limit = 128.
Custom field where you can specify user ID in your system
The advertisement ID that will be inserted into the video
The player ID with which the video will be played
Enables countdown before playlist start with playlist_type: live
Determines whether the playlist:
live - playlist for live-streamingvod - playlist is for video on demand accesslive, vod A URL to a master playlist HLS (master.m3u8) with MPEG TS container.
This URL is a link to the main manifest. But you can also manually specify suffix-options that will allow you to change the manifest to your request:
/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8
Please see the details in hls_url attribute of /videos/{id} method.
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented and intended for your use. Any additional internal manifests, sub-manifests, parameters, chunk names, file extensions, and related components are internal infrastructure entities. These may undergo modifications without prior notice, in any manner or form. It is strongly advised not to store them in your database or cache them on your end.
A URL to a master playlist HLS (master-cmaf.m3u8) with CMAF-based chunks. Chunks are in fMP4 container.
It is possible to use the same suffix-options as described in the "hls_url" attribute.
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented and intended for your use. Any additional internal manifests, sub-manifests, parameters, chunk names, file extensions, and related components are internal infrastructure entities. These may undergo modifications without prior notice, in any manner or form. It is strongly advised not to store them in your database or cache them on your end.
A URL to a built-in HTML video player with the video inside. It can be inserted into an iframe on your website and the video will automatically play in all browsers.
The player can be opened or shared via this direct link. Also the video player can be integrated into your web pages using the Iframe tag.
Please see the details in iframe_url attribute of /videos/{id} method.
Successful
Playlist name
Current playlist client ID
Enables/Disables playlist. Has two possible values:
Playlist start time. Playlist won't be available before the specified time. Datetime in ISO 8601 format.
Enables/Disables playlist loop
A list of VOD IDs included in the playlist. Order of videos in a playlist reflects the order of IDs in the array.
Maximum video limit = 128.
Custom field where you can specify user ID in your system
The advertisement ID that will be inserted into the video
The player ID with which the video will be played
Enables countdown before playlist start with playlist_type: live
Determines whether the playlist:
live - playlist for live-streamingvod - playlist is for video on demand accesslive, vod A URL to a master playlist HLS (master.m3u8) with MPEG TS container.
This URL is a link to the main manifest. But you can also manually specify suffix-options that will allow you to change the manifest to your request:
/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8
Please see the details in hls_url attribute of /videos/{id} method.
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented and intended for your use. Any additional internal manifests, sub-manifests, parameters, chunk names, file extensions, and related components are internal infrastructure entities. These may undergo modifications without prior notice, in any manner or form. It is strongly advised not to store them in your database or cache them on your end.
A URL to a master playlist HLS (master-cmaf.m3u8) with CMAF-based chunks. Chunks are in fMP4 container.
It is possible to use the same suffix-options as described in the "hls_url" attribute.
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented and intended for your use. Any additional internal manifests, sub-manifests, parameters, chunk names, file extensions, and related components are internal infrastructure entities. These may undergo modifications without prior notice, in any manner or form. It is strongly advised not to store them in your database or cache them on your end.
A URL to a built-in HTML video player with the video inside. It can be inserted into an iframe on your website and the video will automatically play in all browsers.
The player can be opened or shared via this direct link. Also the video player can be integrated into your web pages using the Iframe tag.
Please see the details in iframe_url attribute of /videos/{id} method.
Playlist ID