videojs~videojs. VideoTrack

A representation of a single VideoTrack.

Constructor

new VideoTrack(optionsopt)

Create an instance of this class.

Parameters:
NameTypeAttributesDefaultDescription
optionsObject<optional>
{}

Object of option names and values

Properties
NameTypeAttributesDefaultDescription
kindstring<optional>
''

A valid VideoTrack~Kind

idstring<optional>
'vjs_track_' + Guid.newGUID()

A unique id for this AudioTrack.

labelstring<optional>
''

The menu label for this track.

languagestring<optional>
''

A valid two character language code.

selectedboolean<optional>

If this track is the one that is currently playing.

See

Extends