diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index 896cbd5a..72edb290 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -447,8 +447,10 @@ export default Vue.extend({ } }, - updateVolume: function (event) { - const volume = this.player.volume() + updateVolume: function (_event) { + // 0 means muted + // https://docs.videojs.com/html5#volume + const volume = this.player.muted() ? 0 : this.player.volume() sessionStorage.setItem('volume', volume) },