fix hideControls muting sound, #131.
This commit is contained in:
parent
9f3086a05a
commit
54a152ddad
@ -181,9 +181,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Watch('hideControls', { immediate: true })
|
@Watch('hideControls', { immediate: true })
|
||||||
onHideControls() {
|
onHideControls(enabled: boolean) {
|
||||||
this.$accessor.video.setMuted(false)
|
if (enabled) {
|
||||||
this.$accessor.settings.setSound(false)
|
this.$accessor.video.setMuted(false)
|
||||||
|
this.$accessor.settings.setSound(false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
controlAttempt() {
|
controlAttempt() {
|
||||||
|
Reference in New Issue
Block a user