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!

248 Replies
OWEN HOLT

I think I misunderstood your request. I don't see JavaScript being executed at all in your file. I'm not the expert at manually adding the code outlined in this thread (and I'm not a fan of it either... lol) so I couldn't really say what is going wrong in your post publishing production. If you want to try the JavaScript method, let me know. If you are using it and I'm just not seeing it, point me to where it is located in your file.