Pausing audio
May 31, 2013 12:00 AM
Quick questions, hoping someone can point me in the right direction.
I have one single button that I am using to play/pause the module. I also have audio on each slide.
How do i go about pausing the audio when the play/pause button is clicked?
I am using the latest version of Lectora.
Also, while we are on the topic of audio - I would like to delay the audio by 2 seconds so the page has a moment to load before the audio starts. I have added an action to the audio file and set the trigger to "Show" with a delay of 2 seconds and the action "Play" but it doesnt seem to delay at all. Not sure if this is the right way to do this.
Discussion (2)
For the button to play/pause, just use the action "Toggle Play/Pause" and make sure the target is set to the proper audio file on each page.
For the delay, make sure the audio file is not set to auto-play, and just add a "Play" action on the page (not the audio file) that triggers on Show.
If it's still not working for you, let me know!
Discussions have been disabled for this post