Forum Discussion
Stop Audio when Button is Clicked
Hello,
I have created an interactive video. When the learner gets to cue point 1, a new layer shows and it has an activity. The person clicks buttons to learn more. Each button has a state that displays when it is clicked - and audio is embedded in the "selected" state to play when the button is clicked. The challenge is if the learner clicks a new button before the audio is done, both audio clips play until the first one is done. How do I set it so the audio clip that is playing stops when a new button is clicked? Or, is there a way to make the rest of the buttons "disabled" while the audio plays and become active again when it's done?
Thanks!
3 Replies
- EricSchaffer-d1Community Member
I think you are looking for another trigger on the layer. Either set the button to hidden when the layer opens, then a trigger to change the state to normal when the timeline is finished. This way they can't click until you want them to.
Good luck
- TammyPrewittCommunity Member
I think I left some information off of my situation. I actually have 8 buttons on the slide. The learner can click in any order. How do I disable the audio for the other 7 buttons when one is playing? I'm also happy to hop on a call if that would be easier.
- EricSchaffer-d1Community Member
If your buttons are all on the base layer, you can click on the properties for the layer (Little gear) and hide the base layer so they can't see them.
Related Content
- 1 year ago
- 7 months ago