A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/audio-video/AudioTrack below:

AudioTrack · WebPlatform Docs

AudioTrack Summary

AudioTrack is an object representing an audio portion of a video element.

Properties
enabled
Returns true if the given track is active, and false otherwise. Can be set, to change whether the track is enabled or not. If multiple audio tracks are enabled simultaneously, they are mixed.
id
Returns the ID of the given track. This is the ID that can be used with a fragment identifier if the format supports the Media Fragments URI syntax, and that can be used with the getTrackById() method.
kind
Returns the category the given track falls into.
label
Returns the label of the given track, if known, or the empty string otherwise.
language
Returns the language of the given track, if known, or the empty string otherwise.
Methods

No methods.

Events

No events.

Notes

Audio tracks are represented on a video element as an AudioTrackList object, which contains one or more audio tracks.

Related specifications
W3C HTML5 Specification
W3C Editor’s Draft
Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4