Copy link to clipboard
Copied
I'm pretty sure I know the answer, but I am going to ask anyway: Is there a way to pause triggered audio - eg. audio that plays when user clicks a button -- and play it again from where it left off?
A workaround would be putting the audio on the slide and taking the user to a copy of the slide when the user clicks the button, but I was wondering if there was a more straightforward way to do it..
Thanks for any tips!
- Ryan
Copy link to clipboard
Copied
If it's html5 you can with JavaScript. I'll post some code when I'm on my laptop.
Copy link to clipboard
Copied
Awesome. Sounds great.
Copy link to clipboard
Copied
I missed the trigger audio part. My script pauses and plays audio that is attached to objects.
You should try Lieves option, as it would be much easier.
Copy link to clipboard
Copied
Is it a problem if the whole slide is paused? Or do you want the playbar to continue but only the audio to pause?
Copy link to clipboard
Copied
Hi Lilybiri,
It is not a problem if the whole slide is paused.
Copy link to clipboard
Copied
Just use a Pause/Play toggle button, but maybe JS approach is better. This is the simplest version, you can also add a command to change the state to show that audio is paused or not. If you don't want the audio to play from the start, use the Pause command On Enter.
Copy link to clipboard
Copied
Hi guys,
Ok. Thank you. I will try Lieve's option.