Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mute button defaults to Muted

Explorer ,
Jun 30, 2021 Jun 30, 2021

Hi,

Captivate beginner here..

I followed the instuctions on a Mute button tutorial which seems to be working... state changes etc and sound switches on and off when button is selected.

However, i want the sound to play by default with the option to turn it off if the user does not want the commentary. Currently, it starts in mute and i have to press the button to switch the sound on. (button setup attached as per video)

 

 

Link for button tutorial below.

https://www.youtube.com/watch?v=2cNwsiqrlt8

 

additional info if useful - multiple slides on project, intro page etc.

I created the video demo originally then added 'subtitles' - I then recorded an audio track to provide the commentary.

 

Any help would be much appreciated! 

Thanks,

Rob.

 

TOPICS
Audio and video
214
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2021 Jun 30, 2021

The behaviour you describe (where the user must interact with the screen in order for audio to play) is now the default behaviour.  This has come about as a result of recent changes to browsers. 

 

Adobe has explained it here:

https://helpx.adobe.com/captivate/kb/captivate-responsive-courses-not-autoplay-browsers.html

 

There are some JavaScript hacks to get around the problem but the bottom line is that this is supposed to be the new 'normal'.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 30, 2021 Jun 30, 2021
LATEST

Have a look at this blog:

Multiple Toggle buttons with ONE Shared Action - eLearning (adobe.com)

 

You need to be careful with the 'default' situation of the system variable cpCmndMute. Its default value is 0. To make sure that is also the case when your project starts, please use the On Enter action of the first (or preferable second slide, if the first has no audio which is much better) for this command (simple/single action):

   Assign cpCmndMute with 0

 

Sorry, just looked at your screenshots: you switched the states. You show the 'Mute' state when the variable is set to 1 which means that the audio is muted, and the state should be Normal.

 

BTW: reading an advanced action is much easier when you use the Preview box. You open it using the first button in the top right control panel. That will allow you to see the THEN and ELSE part at the same time.
PreviewButton.PNG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources