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!

185 Replies
Matthew Bibby

Thanks for sharing Emily, this is super simple!

I noticed that the background audio didn't play in the HTML5 output. To fix that, just add your <audio src="YOURAUDIOHERE.mp3" preload="auto" autoplay loop></audio> code before the </html> tag in the story_html5.html file.

Wendy Farmer

Wow - thanks for sharing Emily - this is great.  

One question...we create modules with content and then at the end add in a fun Module Challenge which is only maybe 10 slides and the client only wants the music on the challenge.

Do you know a way of just having the audio loop on those specific slides?

Ashley Terwilliger

Hi Tiara, 

Emily is out this week - so I can't speak to the specifics of her set up - are you looking to add it there for use within your LMS? It's worth giving it a try if the story.html file isn't working for you - and you could always upload it to SCORM Cloud if you're not ready to post within your LMS.