How to prevent double audio when revisit a slide with layers?
Jul 29, 2014
I've created a slide in which the base layer has 5 buttons for 5 separate layers. The base layer has ~45 seconds of introductory audio, and its properties are set to show the seekbar and resume saved state.
Each of the 5 layers has audio and video. Each layer's properties are set to allow seeking, pause timeline of base layer and resume saved state.
Now here's the problem: I only listen to a small part of audio on the base layer before I click on a layer and gradually move through all 5 layers. I then move on in the module. When I revisit the interactive slide, my seekbar is stopped where the audio on the base layer was stopped and displays the Play icon, yet the audio and video for the last-viewed layer is currently playing. Because the seekbar/timeline is showing the Play icon, I can't pause the audio on the layer. When I click the Play icon in an attempt to pause the audio on the layer, it actually creates a double audio - playing both the base layer and the continued audio of my layer (and now the seekbar starts to move as the base layer is played).
How do I prevent the double audio? What am I doing wrong?
Thanks in advance for your help,
Tracey
9 Replies
So it's:
Is that correct? It sounds like a bug.
You've got me curious about this; I'll have to do some tests in the morning. If this is a bug, I have an idea how it can be worked around with variables and triggers.
Hi Greg, yes your summation is correct. It's an interesting and frustrating issue for sure. I don't want to remove the seekbar (which would be a simple solution) because I want to allow the user to pause the audio as desired. Any help that you can provide would be greatly appreciated.
Thanks!
Do you have a trigger to close the last layer before moving to the next slide? It sounds like you are revisiting saved state, and the saved state has the last layer still open.
Sure enough. I played around with it, and it looks like a bug.
I came up with a workaround. Before I try to explain it, just have a look at the attached .story file, and see if that makes sense. Basically, you can manually program Storyline to display the correct timeline for an already-open layer when revisiting a slide.
Let us know how it goes or if you have any questions or need a better explanation.
I'm submitting a bug report on this; you might consider doing likewise: http://www.articulate.com/support/contact/submit.php
Good idea Meryem! I've added a trigger to each layer to hide the layer when the user clicks Next. It works like a charm to avoid the double audio the first time a user returns to that slide. Of course, after reviewing the slide the user will probably use the menu to change slides and thus by not clicking Next, won't hide those layers. The double audio problem then returns if the user returns to that slide a 3rd time. However, that's probably a low, if not rare, occurrence.
Thanks! I think this will work for my purposes.
You can eliminate the bug completely if you make the "Hide Layer" triggers activate when the timeline for the base layer starts (instead of when the user clicks the "Next" button). That way, no matter how the learner navigated away from the slide, the layers will hide when the learner revisits the slide.
Note that the "... when timeline begins" trigger does not care where on the timeline the seekbar is. When a slide is loaded, any "... when timeline begins" triggers attached to the base layer will attempt to activate.
The sample I posted does this, plus it includes triggers to track and re-open the previously-open layer (if any). Hence, it's a complete workaround for this bug:
Hi, I am not sure if my issue is exactly the same as the above, I have a base layer with audio and when entering this slide (and before playing the base layer) an slide layer is playing. First visit is working ok but on revisiting base layer and slide layer play at the same time.
Another issue, i would like to solve here, is that i want to prevent the user from clicking the next button for going to the next slide (and this way skipping the audio in the base layer) when the slide layer is playing.
I am attaching the file.
Thanks for any help!
Looks like you were able to get the assistance that you needed here Antonio. Just sharing for others following along.
Thanks Leslie and thank to Akash for helping me with that in that link you just shared.
This post was removed by the author
This discussion is closed. You can start a new discussion or contact Articulate Support.