Custom mute button no affect with video

Jun 27, 2019

Hello,

We created a custom mute button using the code below,

toggle the audio on and off:

var appState = require("helpers/appState");
appState.onToggleVolume();//mute 

The code works great - but.  If a slide contains an mp4 the mute toggle has no affect.  Any thoughts on a 'work round' or a tweak for the code?

Thank you - Nic

7 Replies
Noel Read

Sure, I've attached an example that I've modified so it's ok to post. The mp4 is actually from a public post from someone else who wanted assistance for an issue but it demonstrates how the mute works. It works so well that you can basically switch in any mp4 and it will work, with no other changes needed.

This discussion is closed. You can start a new discussion or contact Articulate Support.