HTMLMediaElement.mediaGroup

The HTMLMediaElement.mediaGroup property reflects the mediagroup HTML attribute, which indicates the name of the group of elements it belongs to. A group of media elements shares a common controller.

Syntax

...

Value

A DOMString.

Example

...

Specifications

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

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
mediaGroupChrome 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 ? Safari ? 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 ? 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