new AudioTrack(optionsopt)

[tracks/audio-track.js](https://docs.videojs.com/tracks_audio-track.js.html), [line 12](https://docs.videojs.com/tracks_audio-track.js.html#line12)

Create an instance of this class.

Parameters:
NameTypeAttributesDefaultDescription
optionsObject<optional>
{}

Object of option names and values

Properties
NameTypeAttributesDefaultDescription
kindAudioTrack~Kind<optional>
‘’

A valid audio track kind

idstring<optional>
‘vjstrack‘ + Guid.newGUID()

A unique id for this AudioTrack.

labelstring<optional>
‘’

The menu label for this track.

languagestring<optional>
‘’

A valid two character language code.

enabledboolean<optional>

If this track is the one that is currently playing. If this track is part of an AudioTrackList, only one AudioTrack will be enabled.

See:

Extends