Skip to content
Type

TrackDisposition

Specifies a track's disposition, i.e. information about its intended usage.

ts
type TrackDisposition = {
	default: boolean;
	forced: boolean;
	original: boolean;
	commentary: boolean;
	hearingImpaired: boolean;
	visuallyImpaired: boolean;
};

Used by

Properties

default

ts
default: boolean;

Indicates that this track is eligible for automatic selection by a player; that it is the main track among other, non-default tracks of the same type.

forced

ts
forced: boolean;

Indicates that players should always display this track by default, even if it goes against the user's default preferences. For example, a subtitle track only containing translations of foreign-language audio.

original

ts
original: boolean;

Indicates that this track is in the content's original language.

commentary

ts
commentary: boolean;

Indicates that this track contains commentary.

hearingImpaired

ts
hearingImpaired: boolean;

Indicates that this track is intended for hearing-impaired users.

visuallyImpaired

ts
visuallyImpaired: boolean;

Indicates that this track is intended for visually-impaired users.

Released under the Mozilla Public License 2.0.