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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
controller | Chrome No support No | Edge No support No | Firefox
No support
No
| IE ? | Opera No support No | Safari ? | WebView Android No support No | Chrome Android No support No | Firefox Android
No support
No
| Opera Android No support No | Safari iOS ? | Samsung Internet Android No support No |
Legend
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- See implementation notes.
- See implementation notes.
See also
- The interface defining it,
HTMLMediaElement.
