Copy link to clipboard
Copied
For HTML 5 Responsive Projects in the latest version (and updates) of Captivate 8:
When I attach audio to a button with "execute advanced actions" and then in this window, I set "Play Audio Clip...." and publish the HTML5 version of the file, and upload it to my server, the mute button on the playbar will not mute the audio. The same thing happens on a quiz when I attach audio to Success and Failure clips. When I publish the file and test it locally on my desktop, it mutes the audio. I've tried uploading to two different servers and it won't work on either. I don't understand why it works locally, but when it transfers to my server, it stops functioning. I know all files are being copied over.
Copy link to clipboard
Copied
Hi,
As far as I am aware (and I could be wrong) you cannot action mute on audio that is assigned to a button, Only slide audio.
If you only have 1 clip, assign the audio to the slide audio, and place a continue button on screen. Set the pause for that button at something low, like 0.5 secs. Then when they press the continue button it will start playing the audio.
Then you can mute using the playbar, or setting a button to Toggle: CPCmndMute.
Copy link to clipboard
Copied
xr42nv I never use a playbar, but have created many mute buttons and I wonder why you did find the information that Mute is only functional for slide audio? My suspicion is that the system variable cpCmndMute is toggled by the Mute button on the playbar, and that system variable is controlling ALL audio: not only slide audio, but also object audio and audio clips that were triggered by the command Play Audio. That is the case for a normal project, still in Captivate 8. It is different for a responsive project. I wanted to add this information because your answer could lead to confusion, since you don't speak about the difference between a normal and a responsive project.
But responsive projects are designed for mobile devices, most of them support only one audio clip at the same time. I did explore a little bit more. Both the Mute button on the playbar and a custom mute button will act on slide audio, on an audio clip that is triggered by an On Slide Enter event, on object audio. However, bit strange, it will not act on an audio clip that is started by the command 'Play Audio' attached to an interactive object. That is the situation you have at this moment. With a custom Mute button you can add the statement 'Stop Triggered Audio' to complete the muting process. It worked for me, maybe I should blog about that workaround. It looks like a bug to me, that only that type of audio is not stopped, but first have to verify more.
Copy link to clipboard
Copied
Hi Lilybiri,
Good point regarding the difference between responsive and normal, is important to note. In this case was referring to responsive as the user is asking about a responsive project.
Personally I tend to avoid 'play audio' on buttons cause in most cases its narrated audio which requires closed captioning. But it does make it difficult if you want multiple audio files on slide.
Copy link to clipboard
Copied
If audio is assigned to a button, it will be muted. It is only when the command 'Play Audio' is triggered by the button that Mute will not be functional. I posted a workaround.
Also you wrote 'only slide audio' can be muted by the Mute button, by the system variable cpCmndMute, which is incorrect. All audio can be muted with that one exception described before, which is probably a 'forgotten' issue.