Hello. I checked out the other posts on this topic and none have resolved my issue. I have built a site in Webflow for a client who now insists on having background music (that auto-loads instead of having a controller). If the mp3 (ogg) file is sitting on our host’s server, shouldn’t I be able to simply embed this code and have it work?
<audio autoplay="autoplay"> <source src="http://www.hostgator.com/myaccount/music/MP3file.mp3" type="audio/mpeg"> <source src="http://www.hostgator.com/myaccount/music/OGGfile.ogg" type="audio/ogg"> </audio>
If my code is okay, then perhaps the issue is where I am embedding it on the Webflow page? I tried both the custom code section in the HEAD tag, then I tried the BODY tag – and finally, I tried using the code in an “Embed” element I dropped on the page.
Any suggestions? Greatly appreciated!