Fix playerAutoPlay not being read correctly.

Closes #453
This commit is contained in:
FireMasterK 2021-09-17 21:34:51 +01:00
parent 05a0cdafc5
commit 08f8c58c5b
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -341,7 +341,7 @@ export default {
}
this.selectedTheme = this.getPreferenceString("theme", "dark");
this.autoPlayVideo = this.getPreferenceBoolean(localStorage.getItem("playerAutoPlay"), true);
this.autoPlayVideo = this.getPreferenceBoolean("playerAutoPlay", true);
this.listen = this.getPreferenceBoolean("listen", false);
this.defaultQuality = Number(localStorage.getItem("quality"));
this.bufferingGoal = Math.max(Number(localStorage.getItem("bufferGoal")), 10);