I have a slide that plays audio. The slide also has a trigger that opens a video in a lightbox.
If the user opens the video/lightbox while the audio on the main slide is playing, it pauses the audio on the timeline. After the user closes the lightbox, I would like the audio on the timeline to stop instead of picking up where it left off.
Seems simple? I cannot figure out how to do this with triggers or variables.
That works! I tried the trigger approach but what I did wrong was the ordering. I had the "stop media" trigger after the "show lightbox" trigger. Your order makes sense now that I think of it!
Thanks so much for your response and have a terrific day!
Hey Jennifer! The player tab triggers will only cover one function; in this case: show the lightbox. Is there any way you can use a button on the slide (or slide master) for the lightbox?
Have a look at this example here, is this what you want? There is a lightbox trigger in the top right of the player that stops audio on the current slide (and doesn't restart when the lightbox is closed).
I can't really tell...The issue is less about audio playing and more about the fact that when the lightbox is closed, the timeline resumes and immediately kicks the learner out to the next slide.
The slide is set up so that items animate in, there's a marker to pause, and then the next button triggers not the next slide, but timeline to resume so that those items can animate back out again. At the end of the timeline, the user moves to the next slide. Normally, no problem, but because the timeline resumes once the lightbox is closed, it bypasses that marker.
8 Replies
Hi Stacey!
I've just added a trigger to stop media when user clicks group 1 just before the trigger, show lightbox slide. I hope it works!
Hi Ali,
That works! I tried the trigger approach but what I did wrong was the ordering. I had the "stop media" trigger after the "show lightbox" trigger. Your order makes sense now that I think of it!
Thanks so much for your response and have a terrific day!
Great news, Stacey -- delighted to see that Ali was able to assist you here! :)
Found this thread in my search...is there any way to do this if the lightbox trigger is in the player and not on the slide?
Hey Jennifer! The player tab triggers will only cover one function; in this case: show the lightbox. Is there any way you can use a button on the slide (or slide master) for the lightbox?
Have a look at this example here, is this what you want? There is a lightbox trigger in the top right of the player that stops audio on the current slide (and doesn't restart when the lightbox is closed).
I can't really tell...The issue is less about audio playing and more about the fact that when the lightbox is closed, the timeline resumes and immediately kicks the learner out to the next slide.
The slide is set up so that items animate in, there's a marker to pause, and then the next button triggers not the next slide, but timeline to resume so that those items can animate back out again. At the end of the timeline, the user moves to the next slide. Normally, no problem, but because the timeline resumes once the lightbox is closed, it bypasses that marker.
Hi Jennifer,
If you're able to share a copy of your .story file that'll help folks in the community take a look and offer some specific ideas on that!
This discussion is closed. You can start a new discussion or contact Articulate Support.