VideoTrackList.selectedIndex

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

読み取り専用の VideoTrackListselectedIndex プロパティは、現在選択されているトラックがある場合はその位置を返し、それ以外の場合は -1 を返します。

現在選択されているトラックがある場合はその位置を示す数値、それ以外の場合は -1

仕様書

Specification
HTML
# dom-videotracklist-selectedindex-dev

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
selectedIndex

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
User must explicitly enable this feature.
Has more compatibility info.