Need an hour of development help

Hi there. I’m at an impass trying to get a simple audio play/pause button that will trigger play or pause of an mp3. Want it to work like the button in this example:

HowlerJS would be great.



You can just copy that play button and use it in your project:

Hi @thetrees,

Make sure to grab the custom code in Page Settings > Custom Code > Before </body> tag - you’ll also need to make sure that the code matches the structure and classes in your project.

This example is using the CMS and is pulling the audio file URL from the ‘Audio Url’ field within the CMS item - you could set this up without using the CMS if you wanted to, it would just take some tweaking of the code.

If you send through a read-only link to your project I’d be happy to take a look for you!