Skip to main content

How to add a responsive audio player

1. Add your audio file to the RapidWeaver Resource panel. For example, our audio file might be called “*****.wav”.

2. Paste the code below into the content area

<audio preload="auto" controls><source src="%resource(*****.wav)%" /></audio>

Highlight your code, go Format > Clear, then Format > Ignore.

Change “guitar.wav” to match your audio file name. Try to avoid filenames with spaces.

In preview, your audio player should now be ready!