I was able to pause audio by using a Pause Media when the user clicks this trigger - same object that triggered the layer. Then on the layer, I added a trigger to play the media when the layer was hidden - same object that was used to hide the layer and return to the base layer.
It seems that if you create the stop media trigger on the base layer, and then copy it to the new layer (and then delete the original base layer trigger) this seems to stop the base layer media from the new layer -- > however, you can't edit that trigger - if you try to edit the trigger - the media field is blank (and base layer media doesn't appear as an option in the drop down). However, this doesn't seem to affect the functionality - the base layer media will still stop!
Hi Leslie, I will get one to you! Also - occasionally base layer media does seem to appear in media drop-down on other layers - i can't fathom why (at the moment anyway).
I think I'm more confused Greg. You only have one audio file, right. It's on the base layer and there is a trigger on a button on the base layer and a trigger on a button on a slide layer. It's still the same file though, so of course either 'stop' button will work.
Yes, apologies for the confusion, that is not quite what we're talking about here (pardon me, but it's been a while since this was at front of mind).
Here is an attached SL that illustrates exactly what we're really talking about - stopping the base layer audio when the timeline of a new layer starts (without pausing the base layer). Here's it is quite clear - if you open the trigger on the new layer you'll see that the target field is blank and that you can't select the base layer audio file in the drop-down.
I cannot create a new trigger on the new layer to stop base layer audio when timeline of new layer starts, but if i create the same trigger on the base layer and then copy it to the new layer, it does work. Is that making more sense?
Perhaps the expected behaviour for controlling audio across different layers is different for a click-based event than it is for a timeline-based event?
13 Replies
I was able to do it by selecting the "Pause timeline of base layer" in the slide layer properties.
Zola
Hi Guys,
I was able to pause audio by using a Pause Media when the user clicks this trigger - same object that triggered the layer. Then on the layer, I added a trigger to play the media when the layer was hidden - same object that was used to hide the layer and return to the base layer.
Two solutions I didn't find on my own. Thanks!
Sam
Thanks for these suggestions. I've tried both of these and the base layer audio keeps playing if you advance to the next layer. Any ideas?
Hi Heather! If Pausing the timeline of the base layer did not assist you, I would advise that you share your .story file for us to take a look.
It seems that if you create the stop media trigger on the base layer, and then copy it to the new layer (and then delete the original base layer trigger) this seems to stop the base layer media from the new layer -- > however, you can't edit that trigger - if you try to edit the trigger - the media field is blank (and base layer media doesn't appear as an option in the drop down). However, this doesn't seem to affect the functionality - the base layer media will still stop!
Can anyone else confirm this?
Hi Greg!
Do you have an example of what you are describing so that I can follow along and test?
Hi Leslie, I will get one to you! Also - occasionally base layer media does seem to appear in media drop-down on other layers - i can't fathom why (at the moment anyway).
In case Greg gets some assistance and for anyone following along, he has posted here as well.
Hello again Leslie, I have finally had a moment to create a quick demo of the behaviour I was describing earlier.
I think I'm more confused Greg. You only have one audio file, right. It's on the base layer and there is a trigger on a button on the base layer and a trigger on a button on a slide layer. It's still the same file though, so of course either 'stop' button will work.
Yes, apologies for the confusion, that is not quite what we're talking about here (pardon me, but it's been a while since this was at front of mind).
Here is an attached SL that illustrates exactly what we're really talking about - stopping the base layer audio when the timeline of a new layer starts (without pausing the base layer). Here's it is quite clear - if you open the trigger on the new layer you'll see that the target field is blank and that you can't select the base layer audio file in the drop-down.
I cannot create a new trigger on the new layer to stop base layer audio when timeline of new layer starts, but if i create the same trigger on the base layer and then copy it to the new layer, it does work. Is that making more sense?
Perhaps the expected behaviour for controlling audio across different layers is different for a click-based event than it is for a timeline-based event?
Thank you for the additional details and the file Greg! I am understanding what you are reporting now and I am seeing the same behavior.
I'm not sure that this is expected, and I'm going to share your details/file with our QA Team for review.
I'm glad that you've figured out a workaround in the meantime.
This discussion is closed. You can start a new discussion or contact Articulate Support.