This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
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 |
---|---|---|
WHATWG HTML Living Standard | Living Standard | The actual property is in a draft of the spec located here. |