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!
281 Replies
- ChristinaWor667Community Member
I am publishing to an LMS and it publishes fine but I don't hear the audio. Can someone please take a look at my attached test file and see if I did something wrong?
- GerardoPedrazaCommunity Member
This question was placed 3 years ago. Are there any updates?
- OwenHoltSuper Hero
Which Question? This thread was active as recent as 21 days ago...
- GerardoPedrazaCommunity Member
If background audio is now supported in Storyline without tricks...
- OwenHoltSuper Hero
It is not. Tricks are still required, but they aren't that hard to implement with a little practice.
- DawnDeVillers-4Community Member
I am in desprate need to have music in the background throughout the course. I have tried your files and code and I can not get it to work. I am using storyline 360. someone please tell me what I am doing wrong.
Ideally I would love to use javascript to control what slides play what music.
thanks
dawn
Hi there, Dawn. You mentioned wanting to control which slides play which music. Do you need a single audio file to play throughout the entire course, or can you use different audio files for each slide?
If they are different on every slide, have a look at adding audio to your Storyline 360 slides.
- DawnDeVillers-4Community Member
I cannot get this to work in storyline360. Please any help would greatly be appreciated.
dawn
- SuzeAshford-BarCommunity Member
Hi Dawn
Where are you publishing to?Kind Regards
Suze Ashford-Barnes
Tel: 07788 577004 / 01453 511896
www.bluestaglearning.comPlease note Tuesday and Fridays are my non-working days, I will do my best to reply as soon as possible.
Hi Suze,
Just an FYI - I noticed that your email signature came through when you replied via email. You can remove that if you would like by clicking Edit beneath your response. Here’s a quick Peek video if you need help.
- JuliusDavidNatiCommunity Member
Wow, I'm reading a thread 3 years ago and it still works pretty well today. Thanks!
- JillSpealman-97Community Member
Hi Naku.
I did not try on any ios devices.
- OndejKrtkCommunity Member
Hi I have a problem with the JavaScrip solution. I use this code on the first slide:
var audio = new Audio ('podmp3.mp3');
audio.loop = true
audio.play ();everything is OK in IE (I hear the sound)
but it doesn't work in the CHROME.
Any advice?
Thank you
- FredGoodCommunity Member
I thought I saw something about how having audio on the first slide doesn't work? Try adding a slide before the one with the audio?
- MandanaMovahediCommunity Member
Thank you, It was very helpful, easy to do and creative.
- DaveCox-67b3049Community Member
Hi Jill
In HTML, all of the code for the "body" of the page must be placed in between the <body> and </body> html tags. If you are instructed to insert code Before the <body> tag, then you should insert your code before this this tag on the code page. It doesn,t necesarily matter where before, just as long as does come before that tag.
Dave
Related Content
- 2 months ago
- 4 months ago
- 5 months ago
- 9 months ago
- 10 months ago