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 AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
controlsListChrome Full support 58Edge ? Firefox ? IE ? Opera Full support 45Safari ? WebView Android Full support 58Chrome Android Full support 58Firefox Android ? Opera Android Full support 43Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also