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!
- suzannemeyerCommunity Member
Matthew, one more question please
I used the code modifications and the background music plays great. Is there a way to get the music to stop playing after say 6 minutes if it is added to the html files?
Thanks again!
- suzannemeyerCommunity Member
All this talk about Background music, wondering folks find free background music?
Any suggestions?
Thanks
- BrandeMorrison-Community Member
I know this is an old thread, but wondering if this works for anyone on SL3? Our LMS uses the index_lms_html5.html file, and that's where I added the code (before the closing <body> and <html> tags). It works if I click on the file from my published files/folders, but not once put out on the LMS.
- OwenHoltSuper Hero
I use SL3 and SL360 and have found the JavaScript solution to work well with our LMS.
It worked with my prior employer who used Saba and with my current employer using Learndot.
Link to details - AnnaLaMontCommunity Member
Hi,
I am upgrading to Soryline 3 and this really cool trick does not work for me any longer.. The script now looks different when opened with Notepad, and I don't know where to paste the <audio src="YOURAUDIOHERE.mp3" preload="auto" autoplay loop></audio> ..
- MiriIritz-0bb1dCommunity Member
Hi, I need the background music to work on iPAD. I tried the solutions published here and none of them works on Safari which is the iPAD browser.
Does anybody knows why and what should I do to make it work?
Thx, Miri
- SindyChettiathCommunity Member
Does anyone know if this is an option that is offered in storyline 360 or are we required to implement a similar work around?
Hi Sindy,
It's not built in to Storyline 360 yet, but I do see that Owen shared here the solution that worked for him in Storyline 3/360.
- BrigidNaglichCommunity Member
I'm unable to hear sound once I've published and added to AWS. The audio works fine in preview. I'm also working on a Mac (Parallels), not sure if anyone else has run into issues?
- OwenHoltSuper Hero
Your issue might be chrome disabling auto-play without the user 1st interacting with the page.