I have a great interaction, with 6 layers. Base and layers each have audio. Layers are hidden initially. When a button on the base is clicked, the associated layer plays, including the audio. There is no visual change on the base layer other than the button clicked state is changed to visited.
What I want is if the base or any layer is in the middle of playing, and the user clicks another layer, that base or layer audio stops and the new layer plays.
Any clue on how to make that happen? I try adding a trigger on the base and for each layer that says 'stop media (specific audio file in that layer) when the user clicks unassigned.' However although I create that trigger and save it, it is not entered in the base or layer that I assigned it to...
Unassigned needs to be replaced with the name of the object the user clicks.
In my mind it is a lot easier just to set the properties for each layer to hide other layers, which stops their media. Set them to pause the baseline layer, and that pauses its media, too.
I should say that since I posted this, I clicked the gear icon on each layer to pause the base layer audio. That part is solved.
However the problem that remains is if I am listening to and in the middle of layer 2 and I click layer 3, I hear both layer 2 and 3 audios concurrently. How can I stop the layer 2 audio and just listen to layer 3 audio?
I'd agree with Walt's latest suggestion - and adjust all the slide layers to hide the other slide layers and that should prevent the audio overlap that you mentioned.
If you're still having difficulty you can share your .story file here with us and we're happy to take a look.
When my one layer ends, it starts playing audio of all the other layers even if I selected a check box to hide other layers.
at first i remedied this by creating a trigger that plays the audio of a particular slide when the timeline starts. however, this trigger removes seekbar functionality which i need so i can't create a trigger for the audio.
i just want the audio to play in its layer, then automatically jump back to base slide after the audio completes. even with these triggers setup, i get a really brief audio clip of another layer then it jumps back to base slide.
I have a project with 10 tabs organized in 10 different layers. Each layer has its own audio. I noticed that the audio from the next layer continues to play. Ideally, I do not want any audio from the next layer unless I click on that specific tab/layer. Here is the file. Thanks so much for your help, Regards, Indrani
10 Replies
Unassigned needs to be replaced with the name of the object the user clicks.
In my mind it is a lot easier just to set the properties for each layer to hide other layers, which stops their media. Set them to pause the baseline layer, and that pauses its media, too.
I should say that since I posted this, I clicked the gear icon on each layer to pause the base layer audio. That part is solved.
However the problem that remains is if I am listening to and in the middle of layer 2 and I click layer 3, I hear both layer 2 and 3 audios concurrently. How can I stop the layer 2 audio and just listen to layer 3 audio?
Set each layer to hide the other layers. That will stop the timelines and media on the other layers.
Hi David,
I'd agree with Walt's latest suggestion - and adjust all the slide layers to hide the other slide layers and that should prevent the audio overlap that you mentioned.
If you're still having difficulty you can share your .story file here with us and we're happy to take a look.
Thanks to you all, problem solved thx to you.
Happy to hear it David and thanks for the update!
Hi Ashley,
I am having a slightly similar issue as David.
When my one layer ends, it starts playing audio of all the other layers even if I selected a check box to hide other layers.
at first i remedied this by creating a trigger that plays the audio of a particular slide when the timeline starts. however, this trigger removes seekbar functionality which i need so i can't create a trigger for the audio.
i just want the audio to play in its layer, then automatically jump back to base slide after the audio completes. even with these triggers setup, i get a really brief audio clip of another layer then it jumps back to base slide.
any thoughts?
Hi John,
I'd be happy to help - this discussion is a bit older though, so let's start from scratch. 😀
Can you let me know what version of Storyline you're using? Can you share a copy of your .story file here with us?
Hi Ashley,
I have a project with 10 tabs organized in 10 different layers. Each layer has its own audio. I noticed that the audio from the next layer continues to play. Ideally, I do not want any audio from the next layer unless I click on that specific tab/layer. Here is the file.
Thanks so much for your help,
Regards,
Indrani
Hello Indrani,
I see where you asked a similar question here and it looks like you were able to solve the issue you were seeing.
Are you good to go or is this another issue?
This discussion is closed. You can start a new discussion or contact Articulate Support.