I have a button that when clicked, plays audio. The audio player slider starts moving (no audio plays) before I've even clicked the button that plays the audio. When I do in fact click the button to play the audio, the slider is now out of sync with the timing of the actual audio. Why is the slider starting already and what can I do to make this work? Thank you!
When you say Audio Player Slider, do you mean the seekbar on the player?
The seekbar will start moving as soon as the timeline starts on the slide, as it's not connected to the media (in your case, audio) that you have inserted.
If you want the seekbar to start paused, you can add a trigger to pause the timeline when the slide starts:
You can then trigger it to play when a button is clicked.
Is there a way for the seekbar to actually match up with the audio?
I tried what you suggested, but when you press the button to play the audio, then the seeker doesn't also start with it. So then I made another trigger to start the timeline in addition to the audio when you click the button. Now if you click somewhere else on the seekbar after having clicked the button, the audio doesn't jump to that corresponding place on the audio track.
Does that makes? What I'm trying to do (have the seekbar and audio match up) seems like it would be a pretty basic and important feature.
Yes, your request makes sense! It would be helpful to see what you've created so far so that we can offer a fix specific to your project. Would you mind sharing the .story file with us? You can share it privately in a support case. We'll let you know as soon as we receive it.
3 Replies
Hi, Brenton.
Thank you for reaching out!
When you say Audio Player Slider, do you mean the seekbar on the player?
The seekbar will start moving as soon as the timeline starts on the slide, as it's not connected to the media (in your case, audio) that you have inserted.
If you want the seekbar to start paused, you can add a trigger to pause the timeline when the slide starts:
You can then trigger it to play when a button is clicked.
Let me know if this works!
Thank you for your response!
Is there a way for the seekbar to actually match up with the audio?
I tried what you suggested, but when you press the button to play the audio, then the seeker doesn't also start with it. So then I made another trigger to start the timeline in addition to the audio when you click the button. Now if you click somewhere else on the seekbar after having clicked the button, the audio doesn't jump to that corresponding place on the audio track.
Does that makes? What I'm trying to do (have the seekbar and audio match up) seems like it would be a pretty basic and important feature.
Hello Brenton!
Yes, your request makes sense! It would be helpful to see what you've created so far so that we can offer a fix specific to your project. Would you mind sharing the .story file with us? You can share it privately in a support case. We'll let you know as soon as we receive it.