W3cubDocs

/DOM

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
WHATWG HTML Living Standard
The definition of 'HTMLMediaElement.mediaGroup' in that specification.
Living Standard No change from HTML5
HTML5
The definition of 'HTMLMediaElement.mediaGroup' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
mediaGroup property ? Not supported[10] ? ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Mobile Opera Mobile Safari Mobile
mediaGroup property ? Not supported[1] (Yes) ? ? ?

[1] Gecko doesn't implement this yet. See bug 847377.

See also

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/mediaGroup