Background Music keep playing.
Apr 19, 2023
Pinned Reply
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.
30 Replies
I believe you can pause or stop the background music by setting a trigger to pause media or stop media at a cue point or a time on the timeline. Then add a trigger to resume if you want to.
I'm having a similar issue. While I can create a trigger to pause the in-slide media, I don't see an option to pause the Story-wide background music using the new feature released April 2023.
Hi Millie!
Thanks for sharing the feedback on how you'd like to use background audio in your course!
We currently have this logged as a feature request, so I’ll go ahead and include your voice! We’ll update this discussion if this feature makes it on our feature roadmap.
What I would like to see as part of this this new feature (which is a great addition) is the ability to fade it out at the end of a piece of content too. I want to reach my last slide and it fades to zero, right now, the music continues to play forever. This means I cannot use it at all which is a real shame as I love how it will automatically dip the audio when there is another sound happening on the slide.
It would be great to find a solution for this
Hello. I heard about this workaround but have yet to try it:
A workaround for pausing the background audio for a specific slide when a video ends or is paused is to add another video to the slide. Configure the video as follows:
This will result in a hidden video playing outside the slide that starts when your original video ends and loops continuously during the slide. While this new video plays, the background audio will be paused if you enable the option under Slide-Related Settings to Pause background audio when video content plays on a slide.
It would be great if you could include a feature to pause the background audio. Just like Kai, I need the music to fade out and stop at the end of the last slide. If the music continues to play forever I cannot use what I built at all, which is a pity. Otherwise the background audio feature is great since it makes everything sound so professional!
I will have to try this. I tried something similar with a silent audio track but the background audio still played.
Hi Dominic!
Thanks for reaching out! I've included your voice in the feature report and will update this discussion if it makes it onto our feature roadmap!
Have a great start to your week!
I came up with a solution to pause the background audio for a single slide, and it could potentially be used to end the background audio at the end of the last slide in a module. Not sure about fade out, but you could stop it.
Accessibility controls need to be enabled in the player for this to work.
If you do not want to actually show the accessibility controls:
On the first slide of the course, execute javascript when timeline starts.
var link = document.getElementById('settings');
link.style.display = 'none';
link.style.visibility = 'hidden';
On the slide that you want to turn the background music off, execute javascript when timeline starts.
var thisVariable = GetPlayer().GetVar("musicOn");
if (thisVariable == 1) {
document.getElementById("backgroundAudio-switch").click();
GetPlayer().SetVar("musicOn",0);
}
On the slide before and after the "turn it off" slide, execute javascript when timeline starts
var thisVariable = GetPlayer().GetVar("musicOn");
if (thisVariable == 0) {
document.getElementById("backgroundAudio-switch").click();
GetPlayer().SetVar("musicOn",1);
}
(this is different than the one above. Copy it very carefully.)
Create a new number variable in the project, name it
musicOn
. Default value 1.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.
Wow! that's great.
This post was removed by the author
The problem is the background music doesn't pause when the user clicks pause on the playbar. For example, let's say the learner wants to pause the audio to answer a phone call. When they select Pause on the player the in-slide audio pauses, but the background audio does not. It seems like that scenario would be a more common use case than one in which a developer would want to turn off/pause the background audio for a single slide.
Hi Amanda!
I appreciate you taking the time to share what you’d like to see in Storyline 360. We currently have this logged as a feature request, so I’ll go ahead and include your voice. We’ll update this discussion if this feature makes it on our feature roadmap.
Have a great start to your week! 🎉
Amanda pretty much sums up what I am looking for correctly. I would appreciate the ability to use a trigger to play and pause background music when the play button on the video controls is clicked to either play or pause. This would be a great update.
Hi Dayo!
Thanks for sharing the feedback on the type of functionality you'd like to see with background audio in Storyline 360!
I've included you in the feature report being tracked, so you can be notified as soon as we have updates to share!
Like Amanda, I would also like to pause the background music when the user clicks on the pause button on the player and reactivate it when they click on Play.
Or I'd like to find a way of integrating a toggle background audio button without displaying all the other toggle switches for accessibility controls.
Fantastic news! The new release of Storyline 360 with background audio control is a game-changer. Kudos for addressing user requests. Excited to explore this feature in course creation.
But you can't create a trigger that pauses media when the user clicks Pause. That's all I want is for the music to stop if they pause the course. I think I must be missing something super obvious! Help! :)
Oh, just read the other replies!
Yes, it seems like music stopping when you hit PAUSE and resuming when you hit PLAY is not really a Feature Request, right? It's fixing an obvious error in design?
Hopefully that gets prioritized differently lol.
Backgound music plays on first slide for a brief second, although a trigger is set "Pause audio Playlist when timeline starts on this slide". Anyone else have this problem?
NEED PAUSE BG MUSIC WHEN USERS CLICK PAUSE ON SEEKBAR !!!S0S!!! EMERGENCY!!! FAST!!!
I have the same problem here. I set the variable Player.BackgroundAudioVolume to 0 on the first slide where I don't want audio, but it's still doing it.
I wanted to share a quick update! We have the option to pause background audio when the player is paused, logged as a feature request. We are currently prioritizing other feature requests but when this makes it on the roadmap, we'll be sure to update this discussion.