Forum Discussion
Background Music keep playing.
When I pause the player, the music just keeps playing, is there any trick to pause the background music in sync with the course material.
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.
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!
- IsaacPreston-aaCommunity Member
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 startsvar 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 itmusicOn
. 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.
- AmalPrasad-ebc0Community Member
Wow! that's great.
- sophiakimmCommunity Member
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.
- OrganizationalTCommunity Member
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! :)
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! 🎉
- DayoAdeyemiCommunity Member
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!
- OrganizationalTCommunity Member
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. - IrisSchlabitzCommunity Member
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?
- SophieLeclerc-eCommunity Member
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.
- TerryHeatter-14Community Member
Thank you, Lauren. My company needs the feature too, to be able to pause background music when pausing the video.
Hi Terry!
Thanks for sharing the feedback!
I've included you in the feature report being tracked and will update this discussion as soon as we have news to share. If you'd like to stay up to date, please bookmark our Feature Roadmap.
- MatheusGenovezCommunity Member
Hi there!
I'm working on adding background music to my project, but I want it to kick in from the second slide onwards. I'm trying to avoid that awkward black slide with a play button that shows up when there's media playing on the first slide.
I've experimented with triggers to pause or stop the music on the first slide, but I still end up with the black screen (and, by the way, the music starts playing briefly before stopping).
Does anyone have any ideas on how to work around this?
- Jürgen_Schoene_Community Member
this is a known limitation of background music and trigger
the first (user defined) trigger is fired long after the button on a black background is displayed and the background sound is startet
but you can change the "black" background to another color or an image