HTMLMediaElement.controlsList
Experimental: 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 |
---|
Unknown specification # solution-outline |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
controlsList |
58 |
79 |
No |
No |
45 |
No |
58 |
58 |
No |
43 |
No |
7.0 |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/controlsList