Forum Discussion
ShaileshGarg
5 years agoCommunity Member
Custom Mute Unmute button
I am creating an e-learning where i have included a custom mute/unmute button, its working fine.
but the problem arises when i mute the audio on one slide and goes to next slide, what happens is ...
ShawnaGigacz-47
2 years agoCommunity Member
I have the same problem.
I have some js on my mute/unmute button(uses states) on my master slide that works great. I added a variable called muteAudio that I set to true. When the audio button is set to mute (selected state) I set the variable to false and when clicked again to turn audio back on, It sets the variable to true. I then have 2 actions that say when timeline starts and yu variable is true, set the Audio button to normal (unmuted) and when variable is set to false, set the audio button to selected (muted) but I when I go to the next slide, the Audio button always goes back to normal. Does anyone have a working example of how to get this to work?