attributes

Subtitles

This feature enables straightforward subtitle integration, thereby enhancing the accessibility of the video player. To add subtitles, simply include the subtitles attribute.

<mave-player embed="{embed id}" subtitles="en,fr"> </mave-player>

Default

By default, the viewer chooses which subtitle to activate. If you want to activate a specific subtitle by default, you can do so by providing the active-subtitle attribute with the preferred language code

<mave-player
  embed="{embed id}"
  subtitles="en,fr"
  active-subtitle="en"
></mave-player>

Sometimes you don’t know which subtitles are available from the components perspective, which is why you can set subtitles to all (all available subtitles) or original (subtitles of the original language in the video). You can also set original as active-subtitle, to enable to original subtitle right away.

<mave-player
  embed="{embed id}"
  subtitles="all"
  active-subtitle="original"
></mave-player>

Auto-generated subtitles

We generate a subtitle for you based on the language spoken in de video, this means that an English spoken video will automatically have subtitles with the language code en available. Currently, to add more languages you will need to add the subtitle files manually using the VTT format.

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