Audio renders an HTML5 <audio> element. Supports dynamic URLs via {{ field }} interpolation.
Basic Usage
Controls are shown by default. The first positional argument issrc.
Playback Options
loop, autoplay, and muted combine to create ambient background audio that starts on its own and repeats indefinitely. Browsers block autoplaying sound until the user interacts with the page, so autoplay only takes effect when paired with muted — start muted to satisfy that constraint, and reach for loop whenever the track should run continuously rather than play once and stop.
Looping background audio
API Reference
Audio Parameters
Audio URL.
Show playback controls.
Auto-start playback. Requires
muted=True in most browsers.Loop playback.
Mute audio.
Additional Tailwind CSS classes.
Protocol Reference
Audio