VideoTrack: selected property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The VideoTrack
property
selected
controls whether or not a particular video
track is active.
Value
The selected
property is a Boolean whose value is true
if the
track is active. Only a single video track can be active at any given time, so setting
this property to true
for one track while another track is active will make
that other track inactive.
Specifications
Specification |
---|
HTML # dom-videotrack-selected-dev |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
selected |
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.