- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Need help with Embedding code and attaching URL to uploaded asset
I have been struggling with this for a while and just can't work it out from all the online suggestions.
I want to embed some code into my homepage which will autoplay some background music. I have uploaded the music file to the assets folder (file is called websitemusic.mp3). I am just not sure of the URL that needs to go between the " ". I am very new to coding so learning as I go.
Below is what I have. THis gives me a lovely little audio player, but its not loading the mp3 file ... would appreciate some advice. BTW I am on a Starter plan so can't use the app that comes with the professional plan.
<audio src="www.lighthousearttherapy.com.au/files/Websitemusic.mp3" controls autoplay loop>
</audio>
Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Sorry - the code should have read:
<audio src="www.lighthousearttherapy.com.au/files/theme/Websitemusic.mp3" controls autoplay loop>
</audio>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Thanks for your reply .... I feel very dumb ... but do you mean I change the source of the file so it has a https ?
i.e. <audio src="https://lighthousearttherapy.com.au/files/theme/Websitemusic.mp3" controls autoplay loop>
</audio>
If so, I tried it and it still doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report