<music>¶
This element creates an invisible audio player. Unlike <audio>, the audio player is not visible. It is generally used for background music. Valid formats are .ogg
and .mux
. If you change the ManiaLink (for example through a link) and the other ManiaLink also includes the same music tag, it will continue playing during and after navigation.
Warning
This element only works when placed as a direct child of <manialink>, it cannot be placed in a <frame>
Note
Although not required, it is best practice to place your music element as the last element for clarity.
Attributes¶
data="music.ogg"
¶
The path to the audio file.
Examples¶
<music data="alpine_race.ogg" />