HTMLMediaElement: controller property

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.

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

Value

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

Specifications

In 2016, the whole Media Controller feature was removed from the HTML specification. It is no longer on track to become a standard.

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
controller
Deprecated Non-standard
Chrome – No support
Chrome 17 – 35 (Release date: 2012-02-08)
footnote Removed in 36 and later
Edge – No support
Edge
footnote No support
Firefox – No support
Firefox
footnote
footnote See bug 847377
Opera – No support
Opera 15 – 22 (Release date: 2013-07-02)
footnote Removed in 23 and later
Safari – Full support
Safari 6 (Release date: 2012-07-25)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 35 (Release date: 2012-06-27)
footnote Removed in 36 and later
Firefox for Android – No support
Firefox for Android
footnote
footnote See bug 847377
Opera Android – No support
Opera Android 14 – 22 (Release date: 2013-05-21)
footnote Removed in 24 and later
Safari on iOS – Full support
Safari on iOS 6 (Release date: 2012-09-10)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 2.1 (Release date: 2013-04-27)
footnote Removed in 3 and later
WebView Android – No support
WebView Android 4.4 – 4.4.3 (Release date: 2013-12-09)
footnote Removed in 37 and later
WebView on iOS – Full support
WebView on iOS 6 (Release date: 2012-09-10)
footnote Full support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.
See implementation notes.