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 | 
|---|---|---|---|---|---|
| mediaGroupproperty | ? | Not supported[10] | ? | ? | ? | 
| Feature | Android | Firefox Mobile (Gecko) | Firefox OS (Gecko) | IE Mobile | Opera Mobile | Safari Mobile | 
|---|---|---|---|---|---|---|
| mediaGroupproperty | ? | Not supported[1] | (Yes) | ? | ? | ? | 
[1] Gecko doesn't implement this yet. See bug 847377.
See also
- The interface defining it, HTMLMediaElement.