TextTrackCueList

A List of TextTrackCues.

Constructor

new TextTrackCueList(cues)

Create an instance of this class..

Parameters:
Name Type Description
cues Array

A list of cues to be initialized with

See:

Methods

getCueById(id) → {TextTrackCue|null}

Get a TextTrackCue that is currently in the TextTrackCueList by id.

Parameters:
Name Type Description
id string

The id of the cue that should be searched for.

Returns:
TextTrackCue | null -

A single cue or null if none was found.