HTMLMediaElement.controller

The HTMLMediaElement.controller property represents the media controller assigned to the element.

Syntax

...

Value

A MediaController object or null if no media controller is assigned to the element. The default is null.

Example

...

Specifications

Specification Status Comment
HTML5
The definition of 'HTMLMediaElement.controller' in that specification.
Recommendation Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
controllerChrome No support NoEdge No support NoFirefox No support No
Notes
No support No
Notes
Notes Firefox doesn't implement this yet. See bug 847377.
IE ? Opera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android No support No
Notes
No support No
Notes
Notes Firefox doesn't implement this yet. See bug 847377.
Opera Android No support NoSafari iOS ? Samsung Internet Android No support No

Legend

No support
No support
Compatibility unknown
Compatibility unknown
See implementation notes.
See implementation notes.

See also