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.
36 Replies
- DucNguyen-64235Community Member
NEED PAUSE BG MUSIC WHEN USERS CLICK PAUSE ON SEEKBAR !!!S0S!!! EMERGENCY!!! FAST!!!
- 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.
- 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. - olivierchemin-2Community Member
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. - 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!
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! 🎉
- AmandaAllen-08bCommunity Member
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.
- 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! :)
- 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.
- AmalPrasad-ebc0Community Member
Wow! that's great.
- 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 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!
Related Content
- 11 months ago
- 3 years ago
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.