Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
unmute() {
Howler.unmute();
this.blockMute = false;
}
onWindowFocus() {
if(this.blockMute) return;
Howler.unmute();
}
static set muted(value) {
if (value) {
muted = true;
Howler.mute();
} else {
if (!enabled) {
return;
}
muted = false;
Howler.unmute();
}
}