Hi, i had the same problem for set silent with cocoonjs but i've used master volume instead and it works. I set it to -100 to mute and to unmute i set the regular master volume.
Develop games in your browser. Powerful, performant & highly capable.