Forum Discussion
SueWallis
5 years agoCommunity Member
Restarting audio from the beginning
Hi
I have some audio that starts when the user presses a 'start audio' button.
I have added a 'pause' button. If the user pauses the audio, and then presses the 'start audio' again, the audio co...
MaryTCollins-eb
5 years agoCommunity Member
Hi Sue,
I haven't been able to replicate the issue of two audios playing at the same time but what I did find was that if you paused on base layer, then hit restart, then hit pause, it started playing the audio from the base layer rather than the restart layer. To fix this I followed these steps:
- Added a pause/play button to the restart layer and hid the one from the base layer
- Set the initial state to Normal
- Changed the triggers for this button to refer to the audio on the restart layer
- Add a trigger to the restart button to return to 0sec on this layer when user clicks restart again
- Add a trigger to play the audio automatically when timeline reaches 0.25secs
I hope this covers all bases!
Related Content
- 4 months ago
- 10 months ago
- 10 months ago
- 11 months ago