Playlists

Usually, playlists are created by customers using our API or the UI. Alternatively, playlists can also be generated directly via the player configuration when initializing a player instance.

You can create a playlist by adding a playlist object to the player configuration. This works both when embedding the player inline and when creating or updating the player dynamically.

If player token protection is enabled, you must provide a key and timestamp for each item in the playlist. When using videos from different projects, the corresponding private key of each project must be used to generate the correct key for that video.

If token protection is not enabled, the key and timestamp parameters can be omitted entirely.

Playlist options

The following additional options are available when configuring a playlist

Value
Description
Default

showPlaylist

deprecated

false

disablePlaylist

disable playlist in general

false

playlistShowList

show playlist on initial load

false

playlistLabel

the label for the playlist

''

playlistVisibleItems

amount of items shown in playlist

10

playlistMaxItems

maximum amount of items in playlist

500

playlistShowLatest

audio player only

false

playlistSticky

audio player only

false

playlistContainer

Specify an external container for the playlist to display it outside the player. This parameter can be either an HTML element as object or the element's ID as a string.

''

autoShuffle

randomizes the order of the playlist

false

playlistMode

The feature allows you to showcase the playlist in a horizontal layout or to build a video carousel. Available options: normal, carousel, carousel-only

normal

A video carousel displays multiple videos in a rotating format, offering users the ability to browse through various clips seamlessly. This design allows for showcasing diverse content without overcrowding the interface.

Demoarrow-up-right

Swipeable Video

Swipeable videos enable users to transition between clips with a simple swipe gesture. This interactive approach is intuitive, providing a smooth and engaging experience, particularly on mobile platforms.

Demoarrow-up-right

Vertical video reel player

Demoarrow-up-right

Manual playlists

Our platform enables you to create playlists through our backend, allowing for both automatic and manual configurations. Below is an example of how you can manually create your own playlist without using our backend system.

Last updated