Forum Discussion
ChandraShekh842
3 years agoCommunity Member
Custom Mute/Unmute Control button
Hi There,
I found in many post that below jawaScript code is used for mute/unmute trigeer panel,
var appState = require("helpers/appState"); appState.onToggleVolume();//mute
But, in my c...
SanghamitraSeth
2 years agoCommunity Member
I have designed custom mute button for a course, it was working fine initially, but later when i added more scenes to the course it worked for some scenes and didn't work for others.
this is the JavaScript code:
var appState = window.DS ? DS.appState : require("helpers/appState");
appState.onToggleVolume(0); //mute
is my code correct??