HTMLMediaElement.controller
The HTMLMediaElement.controller
property represents the media controller assigned to the element.
Syntax
JavaScript
Copy Code
...
Value
A MediaController
object or null
if no media controller is assigned to the element. The default is null
.
Example
JavaScript
Copy Code
...
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'HTMLMediaElement.controller' in that specification. |
Living Standard | No change from HTML5 |
HTML5 The definition of 'HTMLMediaElement.controller' in that specification. |
Recommendation | Initial definition. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
controller property |
? | Not supported[10] | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
controller property |
? | Not supported[10] | (Yes) | ? | ? | ? |
See also
- The interface defining it,
HTMLMediaElement
.
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/htmlmediaelement/controller