W3cubDocs

/DOM

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 CompatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 58 ? ? ? 45 ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 58 58 ? ? 42 ? ?

See also

© 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