Forum Discussion
Background Audio Cool Trick
Hi All,
Just wanted to share a way to add audio across all slides in Storyline 2 There are a few posts on here about this, and I found this method to be super simple.
**Please note that this is just a cool trick, and not a built in feature of Storyline 2.
Publish your course, open the story.html file with Notepad, scroll to the bottom and add this code
<audio src="YOURAUDIOHERE.mp3" preload="auto" autoplay loop></audio> with a space before the </body> and place your audio file into the published output folder and there you go. That is it.
Here is an example, http://bit.ly/1sy5dkV and the output folder is attached.
Have fun!
Hello, Everyone! ✨
I'm happy to share that we have released a new update for Storyline 360 (Build 3.79.30834.0).
In this update, we have an enhancement where:
- Background audio is now supported in the published video output.
As a first step, I recommend updating Storyline 360 to the latest version. Here's how:
If you have any questions, please let us know in this thread or privately in a support case.
Have a great day!
Hi Sara!
I know Matthew addressed this previously in this thread. You can hop right to his response here.
- SaraDaviesCommunity Member
Hi Leslie, thanks for that link. That wasn't the issue, I had the code in the right place. But trying to play it from a local drive (rather than a server) was (I think). In any case it works from the new location.
Thanks!
Sara
Oh, great news Sara :) Thanks for the update. Glad Ashley was able to assist.
- MileneBelowCommunity Member
I'm back.....again! From previous discussions, I realize the background music does not play on an iPad or other device with iOS. I understand that and will live with it. Here's my other dilemma. The background audio trick works for me in the local drive, but when I transfer the published folder to a web server, I noticed the background audio doesn't play when I click the story.html link. Any thoughts?
Hi Milene! You are uploading the content to the server and viewing from that location as your learner would? Viewing locally after uploading may cause issue. I would check out Ashley's solution above as well.
- WilliamBramlettCommunity Member
You can adjust the volume by using Audacity before you embed file.
Just bring open the audio file adjust volume down and save. (MAKE A BACKUP FIRST)
- MileneBelowCommunity Member
Hi William, I'm not sure your response was for me, but the volume is not the issue. The music doesn't play altogether once transferred to the web server. Any other ideas out there? Thanks very much.
- TomHaarmanCommunity Member
This is AWESOME! Thanks so much for sharing Emily, what a fantastic workaround!!!
- EmilyBurnettCommunity Member
Hi Tom,
Glad to see this is helping so many people :)
- TomHaarmanCommunity Member
Absolutely! The other ways I was thinking to do this weren't exactly elegant. This worked perfectly and took no time to do. Plus, you've made it so anyone can do it – even if you know diddly-squat about HTML coding (like me). Thanks again!
- EmilyBurnettCommunity Member
Tom,
I don't know much about coding either, trying to learn, so when I see a simple way to do things, absolutely need to share!
- AnnaRabassCommunity Member
That works great! thanks