VideoTrackList: selectedIndex-Eigenschaft
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Die schreibgeschützte VideoTrackList
Eigenschaft selectedIndex
gibt den Index des aktuell ausgewählten Tracks zurück, falls vorhanden, oder -1
, wenn keiner ausgewählt ist.
Wert
Eine Zahl, die den Index des aktuell ausgewählten Tracks angibt, falls vorhanden, oder -1
andernfalls.
Spezifikationen
Specification |
---|
HTML # dom-videotracklist-selectedindex-dev |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
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.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.