Adding sound to an Advanced alert

When using an advanced alert it's important to note that the provided HTML does not contain a default audio tag. To add the audio tag refer to the audio section comments on the HTML tab:
 
Adding any audio tag to your markup will play it automatically when the alert is shown. Note that you should not add the 'autoplay' attribute so that we can control exactly when the audio file plays. If you have specified an audio alert in the Media tab (either one provided by us, or a custom sound you have uploaded) you can have the source URL of that file inserted automatically by using the '{audio}' variable.

    For example:
    <audio src='https://u.muxy.dev/assets/sounds/alert-sounds/Bloom.mp3'></audio>

    Or
    <audio src='{audio}'></audio>

keywords: advanced mode, audio, sound

Feedback and Knowledge Base