Forum Discussion
Play audio across all slides
- 2 years ago
Hi everyone!
I have some great news to share. We just released another update for Storyline 360. In Update 74, we've included important fixes and new features.
One of the new features we've included is:
- Create immersive experiences with continuous background audio that sets the tone and keeps learners engaged.
Launch the Articulate 360 desktop app on your computer to take advantage of this update, and click the Update button next to Storyline 360. You'll find our step-by-step instructions here.
Please let me know if you have questions!
There are several solutions to get audio playing continuously in the background. Will make a post at some point referring them all. The solution adding here adds a mp3 as resources and then with Javascript its loaded and played. And you can stop/resume it also at will.
- ErinJune4 years agoCommunity Member
Hi Math,
I have never worked with JavaScript before. I did see some other post that didn't make sense to me. You sharing your example makes it a bit more clear on the triggers.
One question, so all I have to do is place the file in resources and then reference it in the Triggers?
- MathNotermans-94 years agoCommunity Member
I slightly changed the previous Storyline file to make it as easy as possible for not-experienced Javascripters to get this working. I removed the timer that was in the previous one, because that one is not needed for playing background audio. And i changed the code so now 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.
Kind regards,
Math- SanjuThapa-b5a03 years agoCommunity Member
If we add the file to Resources so it can play, do we need to display the Reference link at the top right? (checked off in the Player)?
- Surenderkumar4 years agoCommunity Member
Hi Math,
Please make a post as this is one of the most confused topic specially for people like us who are starting to learn storyline and find it disappointing that a basic feature like this is not part of storyline feature. You can do it in any other tool in the market except in storyline.
I had to literally gave up on the music in my last project since it was too hard to follow JS solutions and also was running out of time. Had to launch the course. Moreover, the solutions in the forums says , the music do no work if a user is attempting it on chrome. Are you saying your solution works on every browser?? Thanks for all the help.
Regards,
Surender
- MathNotermans-94 years agoCommunity Member
Yes it works on every browser that supports Html5 audio. And Chrome does.
Here you can find exactly what browser supports it.
https://caniuse.com/audio- Surenderkumar4 years agoCommunity Member
Thanks man . You have been a great help.