Skip to main content
Participating Frequently
September 16, 2016
Question

playing and restarting audio with one button

  • September 16, 2016
  • 2 replies
  • 294 views

Sorry if this has been asked and answered before, but I haven't been able to find any answers online...

I have a button on one slide that plays an audio file on success. I want the user to be able to re- c l i c k the button as many times as they want to restart the audio file at any point while they are on the slide. When previewing this function, if I click on the button twice--once to play the audio the first time, then again while the audio file is in the middle of playing--the audio file successfully starts again from the beginning, however it gets cut off somewhere near the end. If I click on the button only once, the audio file plays through all the way without a problem. Any ideas?

This topic has been closed for replies.

2 replies

Inspiring
September 19, 2016

Hi Jacob,

If you like SoundCloud's handling of audio. Then you might want to try embedding the Soundcloud audio link into your training with a web object. I've never done it, but it might work.  You won't be able to link it with a button but the rest of the functionality should be there.

Cheers,

Steve

Lilybiri
Legend
September 16, 2016

Can you post some more details:: a screenshot of the timeline, with that button selected. Also a screenshot of The Properties, Actions Tab for that button. That audio clip needs time to play till the end, so I'm wondering if you release the playhead when starting the audio clip? That would explain why the audio clip seems to be cut at the end, because the end of the slide is reached.

It is always useful to mention the version (exact number) of Captivate you are using as well.

Participating Frequently
September 16, 2016

screen-shot-2016-09-17-at-8-03-14-am

 

Here's a screenshot. I'm using captivate  9.02.421         

Another strange thing. If I let the audio file play through completely after clicking the button for the first time, then allow a few seconds before re-clicking the button. The audio files successfully plays through uninterrupted the second time as well...