Sound
Play an MP3 sound file.
| Attribute | Type | Default | Description |
|---|---|---|---|
| on | STRING | both | Event that triggers the transition. It can be either show, hide or both |
| url | STRING | Absolute URL of the MP3 sound file to play | |
| volume | INTEGER | 100 | Sound volume between 0 and 100, in percentage of the global volume level |
Example
<behavior name="fx2" fx="sound" volume="50" url="https://example.com/sound.mp3" />