Easy Tutorial
❮ Prop Fieldset Form Prop Email Pattern ❯

Video mediaGroup Property

Video Object

Example

Setting media groups for two videos:


Definition and Usage

The mediaGroup property sets or returns the name of the media group to which the audio/video belongs.

Media grouping allows two or more audio/video elements to stay synchronized.


Browser Support

All major browsers support the mediaGroup property.


Syntax

Return the mediaGroup property:

Set the mediaGroup property:

Property Values

Value Description
group Describes the media group of the video.

Technical Details

| Return Value: | String, representing the media group of the video. | | --- | --- |

❮ Prop Fieldset Form Prop Email Pattern ❯