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