Skip to main content
Known Participant
February 15, 2017
Question

Stop Start Multiple/Any Audio Clip.

  • February 15, 2017
  • 2 replies
  • 1425 views

Ive had a look in the forums and can't see any discussions around this on Captivate 9 (I'm using a latest model top spec iMac on which Captivate happens to be extremely buggy).

I have a project with slides that are doing a click and reveal of multiple text captions (e.g. show caption 1, hide caption 2). Captions have audio attached to them.

On the same screen is an introduction caption that stays in place.

I can drop audio onto each caption, with no issues playing it.

I need a mute button that will stop ANY audio currently playing on the slide, then on second click continue to play the same audio from the same place the audio stopped.

I used Stop Triggered Audio to do this in a conditional action IF statement, and Continue in the ELSE statement. This works except when you get to the end of the slide, if you click the button it will continue to the next slide (obviously because Im playing with the timeline functionality here).

A second issue Im having is that Captivate is not finding any variable names when I put the Change State Of action into the conditional action. Hence why I have to groups (one is called MuteBtn1 and the other MuteBtn2 - these aren't really buttons but simulate the states of the button which is invisible and sitting on top). I dont think this is related though as to me this only seems to be for appearances - not functionality - correct me if I'm wrong).

The only way around this I can see is to create a new button and action thats hides/unhides them for every audio on the slide - however this would be tedious.

What I need to be able to do is to continue playing whatever audio is currently playing without moving the timeline passed the pause point and beyond to the next slide.

Can anybody help?

This topic has been closed for replies.

2 replies

TLCMediaDesign
Inspiring
February 15, 2017

I do have scripts that do this. I would need to modify it somewhat to have it do exactly what you need.

Standby and I'll re-write and test them.

Is this an HTML5 project? My scripts will NOT work for swf.

The script can also control the button you are talking about.

Known Participant
February 15, 2017

That sounds great TLC. Unfortunately this is not HTML 5. I didnt realise JS would not work with SWF.

Lilybiri
Legend
February 15, 2017

OK, finally it got into the Audio/Video forum, which is new. Up till now all questions appeared in the general forum here.

Did you have time to look at the articles?

Lilybiri
Legend
February 15, 2017

For a weird reason this question is not appearing in the Jive forums (where I have moderator rights) and I have some issues in this portal forum (cannot add media).

This is an interesting question, have some ideas, but find it difficult without posting screenshots. You have a redundant command: you don't need to use Stop Triggered Audio because you already muted all audio.

You could read my article about Pausing the timeline, which is available in this portal. At the end you'll see which type of audio can be stopped by a pausing point:  Pausing Captivate's timeline 

As for the toggle to mute/unmute have to point to my personal blog: One shared action for 5 toggle buttons

Sorry not to offer a complete answer, am too crippled here. Just one more tip: the Advanced Actions dialog box has a Preview button  for conditional actions. Look in the top control panel for the first button (looks like a play button). It makes reading conditional actions much easier, especially if they have multiple decisions.