CaptionTrack
Properties
Name | Type | Access | Min Version | Description |
---|---|---|---|---|
name | string | R | 25.0 | Get the name of the track |
id | number | R | 25.0 | The ID of the track within the TrackGroup |
Instance Methods
getIndex
25.0number
Index representing the track index of this track within the track group.
getMediaType
25.0Guid
UUID representing the underlying media type of this track
getTrackItems
25.0[]
Returns the track items of the specified media type from the given track
Parameters
Name | Type | Description |
---|---|---|
trackItemType | number | - |
includeEmptyTrackItems | boolean | - |
isMuted
25.0boolean
Get mute state of the track
setMute
25.0boolean
sets the mute state of the track to muted/unmuted
Parameters
Name | Type | Description |
---|---|---|
mute | boolean | - |