Stop Audio When User Clicks back into the seek bar
Oct 14, 2016
has anyone had a similar situation to mine below?
Parameters: Two audio files on base layer. First file plays at beginning of slide and when it completes, it triggers the second file to play (Second file is background music and I don't want the timeline to be longer than the initial audio file).
Problem: After the second audio file begins playing, it keeps playing if you scrub the seek bar back to hear the original first audio file. Is there a way to stop/pause the second file if a user wants to rehear the original audio?
I know there are workarounds, but I'd like to see if I can get it to work with the way I have it set up and without creating a mute button or something. Please let me know any solutions you might have. Thanks for your help!
5 Replies
Hi Walter!
You may want to share your .story file or even the sample .story slide for us to take a look.
Do you need the seekbar and the user to scrub or could you place a button that perhaps restarted the slide over/replayed audio?
Hi Leslie,
Here's a sample of what I'm talking about. There is nothing wrong, rather I am trying to do something different. The first audio track plays and then triggers another audio track to play when the first completes. But if you scrub back to rehear the original audio, there's not really a way to stop the second audio.
As I mentioned originally, I know there are workarounds, like adding a button. But I'm trying to find out if there is any way to make what I am doing work before I do that.
Thanks for your help.
Hi Walter!
I'm not sure how realistic your example is or if there is a reason for concern with the Audio 2 for instance in the way you have it set up...
In this instance, you could crop the audio so that it wasn't exceptionally long. Then you would not have a need for a trigger as you could line up the audio in the timeline as you want it to play and the seekbar will do what you intend.
I'm having this issue with triggered audio. I have three buttons on screen, each that play their own separate audio file. They work fine as designed, in that each button is set to play its respective audio and turn off the other buttons' audio. However, when the user drags the seekbar, the audio files for the selected buttons overlap. How can I solve this?
Hi Emily,
Thanks for contacting us and sharing the issue that you're running into with your audio files overlapping.
With your permission, I'd like to take a look at your project file to investigate what's happening. You can share it publicly here, or send it to me privately by uploading it here. I'll delete it when I'm done troubleshooting.
This discussion is closed. You can start a new discussion or contact Articulate Support.