mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
parent
04d65a164c
commit
527f564017
1 changed files with 2 additions and 2 deletions
|
@ -325,7 +325,7 @@ export default {
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
this.active = true;
|
this.active = true;
|
||||||
this.selectedAutoPlay = this.getPreferenceBoolean("playerAutoPlay", false);
|
this.selectedAutoPlay = this.getPreferenceBoolean("autoplay", false);
|
||||||
this.showDesc = !this.getPreferenceBoolean("minimizeDescription", false);
|
this.showDesc = !this.getPreferenceBoolean("minimizeDescription", false);
|
||||||
this.showRecs = !this.getPreferenceBoolean("minimizeRecommendations", false);
|
this.showRecs = !this.getPreferenceBoolean("minimizeRecommendations", false);
|
||||||
if (this.video.duration) {
|
if (this.video.duration) {
|
||||||
|
@ -360,7 +360,7 @@ export default {
|
||||||
return this.fetchJson(this.apiUrl() + "/comments/" + this.getVideoId());
|
return this.fetchJson(this.apiUrl() + "/comments/" + this.getVideoId());
|
||||||
},
|
},
|
||||||
onChange() {
|
onChange() {
|
||||||
this.setPreference("playerAutoPlay", this.selectedAutoPlay);
|
this.setPreference("autoplay", this.selectedAutoPlay);
|
||||||
},
|
},
|
||||||
async getVideoData() {
|
async getVideoData() {
|
||||||
await this.fetchVideo()
|
await this.fetchVideo()
|
||||||
|
|
Loading…
Reference in a new issue