This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.
The controlsList
property of the HTMLMediaElement
interface returns a DOMTokenList that helps the user agent select what controls to show on the media element whenever the user agent shows its own set of controls. The DOMTokenList takes one or more of three possible values: nodownload
, nofullscreen
, and noremoteplayback
.
Syntax
var domTokenList = HTMLMediaElement.controlsList;
Value
A DOMTokenList
.
Specifications
Specification | Status | Comment |
---|---|---|
Controls List API: Solution outline |
Browser Compatibility
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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
controlsList
|
Chrome
Full support 58 |
Edge
Full support ≤79 |
Firefox
? |
IE
? |
Opera
Full support 45 |
Safari
? |
WebView Android
Full support 58 |
Chrome Android
Full support 58 |
Firefox Android
? |
Opera Android
Full support 43 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown
See also
HTMLMediaElement.controlsList by Mozilla Contributors is licensed under CC-BY-SA 2.5.