This is an experimental technology
Check 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 |
---|---|---|
HTML Living Standard | Living Standard | The actual property is in a draft of the spec located here. |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 58 | ? | ? | 45 | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 58 | 58 | ? | ? | ? | 45 | ? |