Forum Discussion

TLD's avatar
TLD
Community Member
11 months ago
Solved

Reset Marker state when audio done

Hello! Thanks Tipsqueak for this great video on using audio with markers. As shown at  3:50 in the video, I am using a marker in Storyline 360 to allow learners to play optional audio on a slide. The...
  • NDCB's avatar
    5 months ago

    In case anyone else runs into this, I found a solution that doesn't involve using JavaScript (for others like me who aren't proficient with code).

    • I set this up using two separate markers- a Play marker and Pause marker.
    • The markers occupy the same place on the slide. 
    • The Play marker is visible, while the Pause marker's initial state is set to Hidden.
    • I added my media to the slide, rather than embedding it within the marker itself.

     

    I used the following triggers:

    Pause Button:

    • Set state of PlayMarker to Normal when the state of PauseMarker is Hidden
    • Pause Audio when the user clicks PauseMarker
    • Set state of PauseMarker to Hidden when the user clicks PauseMarker

     

    Play Button:

    • Play Audio when the user clicks PlayMarker
    • Set state of PlayMarker to Hidden when the user clicks PlayMarker
    • Set state of PauseMarker to Normal when the state of PlayMarker is Hidden

     

    Audio:

    • Set state of PauseMarker to Hidden when Audio completes
    • Set state of PlayMarker to Normal when Audio completes