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
- LubomirKoprdaCommunity Member
So I got frustrated with this and decided to look into the code, and I think I managed to actually find a very simple fix that will pause the background music when clicking the play/pause button. You just change a part of one function in the exported files.
This was tested with the XAPI export since that's what we use, I'm not familiar with the other ones but I suspect it would be something similar.
1. Go to "html5/lib/scripts" and open "frame.desktop.min.js"
2. Find
t.currTimeline.togglePlayback()and replace it with
(t.currTimeline.togglePlayback(), Ub.trigger(Vb.backgroundAudio.TOGGLE))3. Save and close the file, and the training will now pause the background music when you press the pause button.
This is ridiculous - there already is a function to pause/unpause the background music, and this just hooks it up to the function triggered by the play/pause button of the timeline. How has this request sat here for years when it's this simple?
Might need further testing to see if it works properly in all conditions but this has worked in 3 of my courses.
- JulieIngalls788Community Member
Has the feature of being able to pause background music when pausing the video been released? If yes, how do I do this? If not, seems like this request has been out there for quite some time. Is this still in backlog and when do you expect release?
- LubomirKoprdaCommunity Member
I'm going to add another +1 on this, it's honestly ridiculous that such basic functionality doesn't exist. When a user presses pause, they expect the course to pause, so why would background music as the only element keep playing? Like mentioned before by other users this is a number one blocker for us in using this feature, driving us to instead do videos with other software tools than Articulate. It's literally driving away your paying customers for what should be a super simple feature to implement!
- officeapeCommunity Member
Another +1 here.
This is the #1 reason we're not using background audio right now. Our issue is that when users pause the slide and the background audio keeps playing, they think the course may still be playing. Rather than deal with any inquiries about this, we just don't use the feature. This is unfortunate, because it's a great feature I'd love to use.
- KarenPolikCommunity Member
+1 for the feature request to pause background audio when the player is paused. Without this functionality, I cannot use the background audio feature (and I'd really like to!)
Also, the ability to fade the music out on the last slide.
Thanks! - IrisSchlabitzCommunity Member
Hi @Matheus,
I added a trigger on the slide that needs to be paused: "Pause media at time 0:00" - this made the brief sound stop (instead of pause media when slide starts).
Also, you can add an image in the Player Options to overwrite the black screen. Just as a note: Usually the screen with the play button does not show once the SCORM (in my case) has been uploaded to our webpage - the SL plays automatically. The play button only shows for mobile devices - therefore a key image looks better.
I hope this helps.
- 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
- 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?
- 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.
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.
- JulieAult1Community Member
Any update on if/when this may be added. It would be of great value!
Hi JulieAult1,
Thanks for checking in on this!
I don't have an update to share as of now, so I've shared your feedback with our product team. We'll let you know if we have news!
Related Content
- 11 months ago
- 3 years ago