---
title: HTMLMediaElement.mediaGroup
slug: Web/API/HTMLMediaElement/mediaGroup
tags:
  - API
  - HTML DOM
  - HTMLMediaElement
  - Property
  - Web
  - Deprecated
browser-compat: api.HTMLMediaElement.mediaGroup
---
{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`HTMLMediaElement.mediaGroup`** property reflects the {{htmlattrxref("mediaGroup", "video")}} HTML attribute, which indicates the name of the group of elements it belongs to. A group of media elements shares a common `controller`.

## Syntax

```js
...
```

### Value

A {{domxref("DOMString")}}.

## Example

```js
...
```

## Specifications

In 2016, the whole Media Controller feature was [removed from the HTML specification](https://github.com/w3c/html/issues/246). It is no longer on track to become a standard.

## Browser compatibility

{{Compat}}

## See also

- The interface defining it, {{domxref("HTMLMediaElement")}}.
