Firefox Tomorrow

web api instance property

VideoTrackList: selectedIndex property

View on MDN ↗

The read-only VideoTrackList property selectedIndex returns the index of the currently selected track, if any, or -1 otherwise.

Value

A number indicating the index of the currently selected track, if any, or -1 otherwise.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.