user
@adaoc
The chatbot voice keeps reading the feedback after I restart the slide
Is there a way to stop the voice feedback when the learner clicks away before it has ended?

In a Storyline file, I'm using a chatbot to give feedback, both written and voice. The learner can click 'Try again' to submit another idea, which hides the Feedback/Response elements and shows the Answers/UserMessage elements again.

When I do this, the graphic elements act as expected but the Feedback/Response voice keeps going over, drowning any other media: a video in a lightbox and also itself when the the feedback to the second answer starts.

Many thanks for your help.
reply
Reply
user
@support
Hi. Here's a JS trigger to clear the audio:

document.querySelectorAll('audio[id^="audio-player"]').forEach(audioElement => {
audioElement.src = "";
});

You can run it on the next slide after your feedback/response slide (on slide start). So even if someone does go back, the audio should be cleared by then.
reply
Reply
user
@adaoc
Thank you! That worked very nicely.
I triggered it at the start of the timeline and also with a button and it did the trick.
reply
Reply
user
@support
Great, congrats on making it work!
reply
Reply