Skip to main content
Known Participant
July 15, 2016
Answered

Audio mute and unmute button

  • July 15, 2016
  • 2 replies
  • 4692 views

Adobe Captivate 9

I created an audio mute and unmute button.  I ran into a little issue where I would like the audio to be muted and give the user the choice unmute it.  I cant figure what I have done incorrect.  I have a feeling its super easy but have been playing with this way to long.  Any ideas or assistance would be great!

This topic has been closed for replies.
Correct answer Lilybiri

You make it really VERY complicated. Have a look at my article:

1 action = 5 Toggle Buttons - Captivate blog

You'll see that you only need one variable, the system variable cpCmndMute and that you can use an extra state (besides the 3 InBuilt states) for a (shape) button to show the status of the button. I use a shared action, because the same action can be used for multiple toggle buttons.

2 replies

jrumAuthor
Known Participant
August 17, 2016

Lilybiri,

I have followed your instructions to create an audio on and off button.  However, if I click to mute the audio and then click the next button go to the next slide, the new slide is muted as well and the rest of the training.  Basically, there is a policy that users can read and/or listen too.  Most users unless they have an impairment will mute the audio and just read the policy.  I am having a hard time figuring out a way to not have this button control all audio in the entire training.

Lilybiri
Legend
August 17, 2016

I answered from my phone, but see that the answer has not survived. Sorry for that.

The mute button has the default behavior, same as in playbar or on any media controller: user decides when muting, and when unmuting.

If you want tor make audio play on each slide again, which could also annoy users IMO, you'll have to use another conditional action, triggered by the On Enter event of each slide: check if audio is muted, in thatcase change the state and toggle cpCmndMute, it if is not muted, just Continue.

jrumAuthor
Known Participant
August 17, 2016

Thank you!  I was able to figure it out!

Lilybiri
LilybiriCorrect answer
Legend
July 16, 2016

You make it really VERY complicated. Have a look at my article:

1 action = 5 Toggle Buttons - Captivate blog

You'll see that you only need one variable, the system variable cpCmndMute and that you can use an extra state (besides the 3 InBuilt states) for a (shape) button to show the status of the button. I use a shared action, because the same action can be used for multiple toggle buttons.

Participating Frequently
July 14, 2022

Hi Lilybiri,

 

I followed your steps and it worked great for slide audio.

However, it did not work for Multistate.

How can I mute & unmute the audio in Mutistate.

Please help me.

Thanks!

Lilybiri
Legend
July 14, 2022

Really? When muting audio all audio should be muted, whether it is slide audio, background audio, object audio, audio attached to states, or audio triggered by the Play Audio command. Can you give some more details?