Class: TextTrackCueList

TextTrackCueList

A List of TextTrackCues.


new TextTrackCueList(cues)

Create an instance of this class..

Parameters:
Name Type Description
cues Array

A list of cues to be initialized with

Source:
tracks/text-track-cue-list.js
See:

Methods


getCueById(id)

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.

Source:
tracks/text-track-cue-list.js
Returns:

A single cue or null if none was found.

Type
TextTrackCue | null