TrackDefault.label

Obsolete

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

The label read-only property of the TrackDefault interface returns the default label for an associated SourceBuffer to use when an initialization segment does not contain label information for a new track.

Syntax

var mylabel = TrackDefault.label;

Value

Example

TBD

Browser compatibility

BCD tables only load in the browser

See also