docs

Audio tracks

<mave-player> automatically surfaces an audio track selector whenever multiple audio tracks are available so viewers can switch between languages, commentaries, or descriptive audio. You can fine-tune when that selector appears, or force it on/off to match your UX needs.

Default behaviour

audiotracks attribute

Value Description
auto (default) Only show the audio selector when more than one track is available.
off Hide the selector entirely, even if multiple tracks are present.
on Force the selector to remain visible as long as the controls list includes audiotracks.
<mave-player
  embed="ubg50LeDE9v86ye"
  theme="dolphin"
  subtitles="en"
  audiotracks="off"
></mave-player>

Remove audiotracks="off" (or set it to "on") to let viewers switch between the available audio languages. You can use this attribute per embed, regardless of the defaults configured in the dashboard.

Controls integration

To show the selector, your controls list must include the audiotracks token (or fall back to the default full controls). Combine both knobs to match the UX you need:

<mave-player
  embed="ubg50LeDE9v86ye"
  controls="play time seek audiotracks volume fullscreen"
  audiotracks="on"
></mave-player>

The controls list governs whether the button is rendered, and the audiotracks attribute governs whether audio-track functionality is allowed.

Accessibility tips

Example

This sample embed contains multiple audio tracks so you can try the selector in action.

🍪 Press 'Accept' to confirm that you accept we don't use cookies. Yes, this banner is just for show!
Accept