Audio Element not Playing on Published Website

Hi,

I am looking to add music to my website and am having a slight hard time. I added the audio element (Build>Media>Audio) and then imported the MP3 files, however the music does not play on the published website.

I have seen other people add their audio tracks to Theme>Edit HTML/CSS>Assets and then use the following code:

<audio autoplay loop>
      <source src="/files/theme/yoursonghere.mp3">
</audio>

However I am not sure how to use this (besides changing the name from yoursonghere to the file name) or if this is the correct way to proceed.

Thank you,

Ann Marie

407 Views
Message 1 of 2
Report
1 REPLY 1

@patsdancetudio  Suggest that you read this if you are referring to "autoplay" and the browser issue - https://community.weebly.com/t5/Site-Editor/Audio-Autoplay-in-Background/td-p/139755 

397 Views
Message 3 of 2
Report