You may access certain functions and properties on the Playlist object.

You may have limited control of the playback of a playlist. You can use this to do things like advance the playlist to the next page once your code determines that this is appropriate.

window.onloadTelemetryTV = function (ttv) {
  console.log('Pausing the Playlist');
  ttv.playlist.pause();
};

Available Functions

Function

Description

Returns

goToPageId(id)

Goes to the page as specified by the ID. You'll need to determine the ID of the page first by retrieving a list of the pages.

null

goToPageName(name)

Go to the page as specified by the Name of the page.

null

nextPage()

Go to the next page in the playlist.

null

previousPage()

Go to the previous page in the playlist.

null

pause()

Pause playlist playback.

null

play()

Resuming playing playlist playback.

null

Available Properties

Property

Description

Type

id

The ID of the playlist

string

pages

An array of pages objects representing the pages in the playlist

array

name

The name of the playlist

string

state

Whether the playlist is 'playing' or 'paused'

string