class AudioTrack
package js.html
The AudioTrack
interface represents a single audio track from one of the HTML media elements, audio
or video
.
Documentation AudioTrack by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Variables
enabled:Bool
A Boolean value which controls whether or not the audio track's sound is enabled. Setting this value to false
mutes the track's audio.
read onlyid:String
A DOMString
which uniquely identifies the track within the media. This ID can be used to locate a specific track within an audio track list by calling AudioTrackList.getTrackById()
. The ID can also be used as the fragment part of the URL if the media supports seeking by media fragment per the Media Fragments URI specification.
read onlykind:String
A DOMString
specifying the category into which the track falls. For example, the main audio track would have a kind
of "main"
.