About resuming audio in the slide

Nov 07, 2022

Hello

When I add for example (audio1) to the slide 1.1, then I move to the next slide which is slide 1.2 before the sound (audio1) is completed, when I return to slide 1.1 the (audio1) resumes !
How can I make the (audio1) plays only once and not play or resume even if it is not completed in the first show of slide 1.1.

*especially in graded slides.

1 Reply
Judy Nollet

If the Slide Properties are set to "Reset to initial state" for revisiting, the timeline will restart from the beginning, which restarts any audio. 

If the Slide Properties are set to "Resume saved state," the timeline will finish playing from wherever it was when the user left the slide. 

  • This is the setting to use so the audio only plays once. 
  • However, the audio would still resume if it didn't finish playing the first time the user was on the slide. 

Fortunately, there is a way to stop the audio from replaying. 

  • Create a T/F variable with a default value of False. For example, call it "stopAudio." 
  • Add a trigger to the slide that stops the audio when the timeline starts with the condition that the stopAudio variable has a value of True. 
  • Add a trigger to the NEXT button and/or to whatever button(s) are used to advance. That trigger should set the variable to True. 
    • Be sure this trigger comes before the trigger that jumps to another slide. Otherwise it won't run. 

Those triggers would look something like this: 

This will prevent the audio from replaying/restarting no matter which setting you use for revisiting.