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.
var domTokenList = HTMLMediaElement.controlsList;
A DOMTokenList
.
Specification | Status | Comment |
---|---|---|
HTML Living Standard | Living Standard | The actual property is in a draft of the spec located here. |
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 | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controlsList