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 Status Comment
Controls List API: Solution outline

Browser compatibility

BCD tables only load in the browser

See also