Continuous playing Background Music over all Slides in Storyline360
As this subject keeps returning i decided to make a single post in which i add my solution to this, so when replying on someone's question to this i can just point to this post.
In fact its easy enough to do in Storyline as is with some Javascript.
Here you can see a sample.
https://360.articulate.com/review/content/7dc09046-4f80-439c-ba91-23af8fdd08f0/review
And for some other user i made a simple sample. Very easy for not-experienced Javascripters to get this working. You only need to do 2 things to get background audio working properly.
- Replace the audiofile in the resources.
- Change the variable 'audioFile' into the name of your audiofile.
And then all works.
Basically there is an extra slide not used in the flow, but adding resources that in the end will publish to the storyline_content.
A variable with the 'filename.mp3' is set so in the end you only need to change that variable and add any wanted audio to the resources.
At start a Javascript is executed adding the needed code to the HTML and then another Javascript is needed on a trigger to start the background audio playing. As is you cannot use the default Storyline volume button as this only works with inline Storyline audio. I added a button to pause/play audio. Thats the easiest solution for that. Offcourse you can add the pause/play and the volume control functionality to the default Storyline button, but thats another journey.
Good luck,
Math
Hi everyone!
Good news! I'm happy to share that we just released Storyline 360 (Build 3.81.31200.0), which includes a feature to control the background audio for each slide using triggers to play, pause, or stop the playlist.
This was highly requested, so we hope it serves you in your course creation! If you run into any snags, don't hesitate to contact our team in a support case.