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
TextTrackCuethat is currently in theTextTrackCueListby id.Parameters:
Name Type Description idstring 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