diff --git a/webroot/js/components/player.js b/webroot/js/components/player.js index a7255f68e..aba0bfd6f 100644 --- a/webroot/js/components/player.js +++ b/webroot/js/components/player.js @@ -102,8 +102,8 @@ class OwncastPlayer { } } - handleVolume(e) { - setLocalStorage(PLAYER_VOLUME, this.vjsPlayer.volume()); + handleVolume() { + setLocalStorage(PLAYER_VOLUME, this.vjsPlayer.muted() ? 0 : this.vjsPlayer.volume()); } handlePlaying() {