diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index d6a46c89..3a0d9ad0 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -325,7 +325,7 @@ export default { }, activated() { this.active = true; - this.selectedAutoPlay = this.getPreferenceBoolean("autoplay", false); + this.selectedAutoPlay = this.getPreferenceBoolean("playerAutoPlay", false); this.showDesc = !this.getPreferenceBoolean("minimizeDescription", false); this.showRecs = !this.getPreferenceBoolean("minimizeRecommendations", false); if (this.video.duration) { @@ -360,7 +360,7 @@ export default { return this.fetchJson(this.apiUrl() + "/comments/" + this.getVideoId()); }, onChange() { - this.setPreference("autoplay", this.selectedAutoPlay); + this.setPreference("playerAutoPlay", this.selectedAutoPlay); }, async getVideoData() { await this.fetchVideo()