HTMLMediaElement.controlsList

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

https://wicg.github.io/controls-list/html-output/multipage/embedded-content.html#attr-media-controlslist.

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 58Edge ? Firefox ? IE ? Opera Full support 45Safari ? WebView Android Full support 58Chrome Android Full support 58Edge Mobile ? Firefox Android ? Opera Android Full support 42Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Contributors to this page: sideshowbarker, snakeey11, fscholz, xmbhasin, jpmedley
Last updated by: sideshowbarker,