patsdancetudio
01-30-2021
12:31 PM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
1 REPLY 1
NJRFTF
01-30-2021
03:31 PM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@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