ADD: Handle muted state to update the volume settings

This commit is contained in:
Edgardo Ramírez 2020-10-06 15:51:30 -05:00
parent ac1860d325
commit f0df543def

View file

@ -102,8 +102,8 @@ class OwncastPlayer {
} }
} }
handleVolume(e) { handleVolume() {
setLocalStorage(PLAYER_VOLUME, this.vjsPlayer.volume()); setLocalStorage(PLAYER_VOLUME, this.vjsPlayer.muted() ? 0 : this.vjsPlayer.volume());
} }
handlePlaying() { handlePlaying() {