Forum Discussion

AmalPrasad-ebc0's avatar
AmalPrasad-ebc0
Community Member
3 years ago
Solved

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.

38 Replies

  • KarenPolik's avatar
    KarenPolik
    Community 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!

  • officeape's avatar
    officeape
    Community 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. 

  • 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!

  • 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? 

    • EricSantos's avatar
      EricSantos
      Staff

      Hi JulieIngalls788,

      Thanks for checking in. There isn’t an update to share right now on the ability to pause background music when the learner pauses the course or video. I’ve shared your feedback with our product team so they’re aware this feature continues to be important for your workflow.

      For now, background audio can be controlled with triggers to play, pause, or stop on specific slides, but it won’t automatically pause with the player controls.

      Appreciate you following up on this request and sharing how it impacts your course experience.

  • LubomirKoprda's avatar
    LubomirKoprda
    Community 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.

    • EricSantos's avatar
      EricSantos
      Staff

      Hi LubomirKoprda,

      Thanks for taking the time to explore a possible workaround and share your findings. We appreciate your initiative in testing this. Just a quick note that editing the published Storyline files isn’t officially supported, as even minor code changes can lead to unexpected behavior after updates.

      I’ve passed your feedback along to our product team so they can see how valuable it would be to have background music pause automatically with the play/pause button built in.