Forum Discussion
Audio on Layers when you revisit
- 20 days ago
SuzanneCarson-b: Here's the problem: On the base and each layer is a trigger that plays the audio "when the timeline of this [slide/layer] starts," with the condition that the variable = True.
A "when timeline starts on this slide" trigger runs every time a user revisits a slide, even if the revisiting properties are set to "Resume saved state."
Strangely, it appears that the "when timeline starts on this layer" triggers also run when revisiting the slide—but only on the layers that were previously opened.
- This seems like a bug to me, so I suggest you submit a case to Articulate. https://access.articulate.com/support/contact
In the meantime, the attached file has a workaround. The triggers have been changed so the audio plays when the timeline reaches 0.1 seconds.
Note: There are still issues with the Play, Pause, Stop buttons. I suggest you delete the Stop button, since stopping the audio is the same as pausing it.
I'd also use just one toggling button for Pause/Play, with the Normal state being used to Pause and the Selected state being used to Play (or vice versa). Have a trigger that sets the state based on the T/F variable. The attached "demo" file shows how this sort of button works.
Judy Nollet! Thank you so much. This is fantastic info. I wonder why the audio doesn't autoplay on revisiting after 0.1 seconds? It simply doesn't - which is the desired behaviour.
Additionally, the reason we used the buttons rather than a true toggle switch is because the drag and drop nature of the toggle isn't fully accessible. I can change the media buttons so it is just play/pause with a T/F variable, but would a button like I had in my demo work okay? It doesn't actually have to be a toggle feature right?
re: timeline trigger
"When the timeline starts" really should be called "Whenever the user gets here," because that's really when that type of trigger runs.
Changing the trigger to "when the timeline reaches" forces the program to see it as a point on the timeline. So the trigger won't run again unless the timeline is replayed to that point.
re: toggling Pause/Play button
The button in the demo file I attached isn't draggable. It's just a shape with a Normal state and a Selected state, and those states are designed to look like a switch that changes its position.
When any object has a Normal state and a Selected state, it automatically toggles (aka changes back and forth) between those states when the user clicks it or accesses it via keyboard.
You could simply use a round shape with the Normal state having the Play icon and the Selected state having the Pause icon (or vice versa).
Related Content
- 1 year ago
- 8 months ago
- 1 year ago