Skip to content

Youtube Playlist

Television Simulator can play YouTube playlists in order or shuffled.

youtube-playlist: PLU1WjbywtZxEGdTPm-qB0KzPGkRPw6npl
youtube-playlist:
src: PLU1WjbywtZxEGdTPm-qB0KzPGkRPw6npl
continueFromLast: false
shuffle: true

src shorthand required

Section titled “src ”

Type: string

The ID of the YouTube playlist to play. This can be found in the URL of the playlist, for example, https://www.youtube.com/playlist?list=PL1234567890abcdef would have an ID of PL1234567890abcdef.


Type: number

The index of the video to start playback from. This is zero-based, so the first video in the playlist would be 0, the second video would be 1, and so on. If not specified, playback will start from the first video in the playlist.


Type: true | false

Whether to shuffle the playlist before playback. If set to true, the videos will be played in a random order. If not specified, playback will be in the order the videos appear in the playlist.


Type: true | false

If set to true, the playlist will loop back to the beginning after the last video has finished playing. If set to false, playback will stop after the last video in the playlist.


Type: true | false

If set to true, the playlist will continue playback from the last video that was played when the engine is restarted. If set to false, playback will start from the beginning of the playlist or a random video if shuffle is enabled. This is useful for resuming playback after a channel has been stopped or restarted.


Type: number

The volume level to play the videos at, ranging from 0.0 (muted) to 1.0 (maximum volume). If not specified, the default volume level will be used.