Forum Discussion

DetraTurpin-48f's avatar
DetraTurpin-48f
Community Member
9 years ago

Need to stop audio from replaying on revisited slide

I see this was discussed years ago without resolution.  Wondering if anyone ever resolved it. 

I have a slide with 5 branches that launch from clicking on 5 objects. At the end of each branch the user is returned to the first slide.  However the audio on that slide replays. 

Here's what did NOT work:  On Slide Properties I tried setting When Revising: to Resume saved state

Has anyone found a way to keep the audio from replaying in this case.

9 Replies

  • Hi Detra

    One way is to create a T/F variable (eg. audioComp) and default to false.

    On the slide with the branches set two triggers in this order

    1. Stop media (audio file) when timeline starts on condition that variable (audioComp) is equal to True.
    2. Adjust variable (audioComp) to True when media completes (audio file) 

    So SL will read the first trigger, the variable isn't true yet so will play audio. At end of audio variable will change to True.

    Subsequent visits - the variable is true so the first trigger kicks in and the audio shouldn't play.

     

    • DetraTurpin-48f's avatar
      DetraTurpin-48f
      Community Member

      Thanks!

      That is an effective solution.

      I also came up with one. I added a trigger to Stop Media when the timeline starts on the condition that if shape 1 was visited, OR shape 2 was visited....to include all 5 shapes. That worked fine as well.

      [2211

    • PriyaMudholkar's avatar
      PriyaMudholkar
      Community Member

      Thank you Wendy! I tried following this route and it worked - here's the thing though, it worked only after I switched the slide's properties to 'when revisiting, resume saved state.' 

  • Thanks for sharing that here Detra - with Storyline you'll often find there is more than one way to accomplish something! 

  • asdmicro's avatar
    asdmicro
    Community Member

    Hi!

    It would be nice to have an screenshot of that condition. Would you please set those conditions in a picture? Thanks a lot.

  • Hello asd and welcome to E-Learning Heroes :)

    This thread is a bit dated. It may be easier for you to share what you would like to accomplish and a sample .story file to get some assistance with.

    We'd be glad to help you out!

  • Old thread but hopefully being monitored...

    I had this same question and solved it using Detra's solution above. But the original branch slide has the Seek Bar enabled, so on return to the slide, the Seek Bar plays as if there were audio. I need a solution in which, when you return to the branch slide, both the audio and the Seek bar are disabled. I'm attaching a file showing the branch slide. Thank you.  

  • Hi Ellen!

    I'm happy to help! I only see two slides in your project. Have you tried changing the revisiting behavior to the Resume saved state?

    Here's what the setting looks like in Slide Properties:

    Let me know if you have additional questions!

    • EllenSlavitz-1f's avatar
      EllenSlavitz-1f
      Community Member

      Thank you so much for your quick response. Not sure why this seemed so
      complicated on the post. My coworker said the same thing!