HTML Audio/Video DOM Reference
Set the media group for 2 videos:
The mediaGroup property sets or returns the name of the media group the audio/video is a part of.
A media group allow 2 or more audio/video elements to be kept synchronized.
![]()
The mediaGroup property is not supported in any major browser.
Set the preload property:
Return the preload property:
| Value | Description |
|---|---|
| group | Specifies the media group of the audio/video |
| Return Value: | A String. Indicating the media group of the audio/video |
|---|
HTML Audio/Video DOM Reference
Your message has been sent to W3Schools.