I'm trying to add a small piece of audio to my Framer prototype. Can anyone help me?
I think you need to import it as a video mp4. And just hide the layer and use the video controls and methods.
a = new Audio("path/to/audio")a.play()
With just this code every time Framer refreshes it would call 'play' which could be at bit... cacophonous. Just call 'play' or 'pause' when you need it.