Prop Video Audiotracks
# Video audioTracks Property
[ Video Object](#)
## Example
Get the number of available audio tracks:
var x = document.getElementById("myVideo").audioTracks.length;
[Try it Yourself Β»](#)
* * *
## Definition and Usage
The audioTracks property returns an AudioTrackList object.
The AudioTrackList object represents the available audio tracks of an audio/video.
Each available audio track is represented by an AudioTrack object.
* * *
## Browser Support

The audioTracks property is not supported by any major browser.
* * *
## Syntax
_videoObject_.audioTracks
## Return Value
| Type | Description |
| --- | --- |
| AudioTrackList Object | Represents the available audio tracks of an audio/video. AudioTrackList Object: * audioTracks.length - Returns the number of available audio tracks * audioTracks.getTrackById(id) - Returns the AudioTrack object with the specified id * audioTracks - Returns the AudioTrack object at the specified index Note: The index of the first available AudioTrack object is 0. |
| AudioTrack Object | Represents an audio track. AudioTrack Object Properties: * id - Returns the id of the audio track * kind - Returns the kind of the audio track (can be "alternative", "description", "main", "translation", "commentary", or "" (empty string)) * label - Returns the label of the audio track * language - Returns the language of the audio track * enabled - Returns or sets whether the audio track is active (true|false) |
* * Video Object](#)
YouTip