mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
ADD: Handle muted state to update the volume settings
This commit is contained in:
parent
ac1860d325
commit
f0df543def
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue