Responsive Audio Player

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

2. Paste the code below into the content area

<audio preload="auto" controls><source src="%resource(guitar.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!

Was this helpful?