ADD: Handle muted state to update the volume settings
This commit is contained in:
parent
ac1860d325
commit
f0df543def
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user