diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index b190f04f..e92519c0 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -292,7 +292,8 @@ export default { }); this.player.on("volumechange", () => { - this.audioplayer.volume = this.player.volume(); + if (this.audioplayer) + this.audioplayer.volume = this.player.volume(); if (localStorage) localStorage.setItem( "volume",