Fix saved mute in embed

This commit is contained in:
Chocobozzz 2020-02-27 10:45:16 +01:00
parent 850ea77864
commit 64645512b0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ export class PeerTubeEmbed {
this.autoplay = this.getParamToggle(params, 'autoplay', false) this.autoplay = this.getParamToggle(params, 'autoplay', false)
this.controls = this.getParamToggle(params, 'controls', true) this.controls = this.getParamToggle(params, 'controls', true)
this.muted = this.getParamToggle(params, 'muted', false) this.muted = this.getParamToggle(params, 'muted', undefined)
this.loop = this.getParamToggle(params, 'loop', false) this.loop = this.getParamToggle(params, 'loop', false)
this.title = this.getParamToggle(params, 'title', true) this.title = this.getParamToggle(params, 'title', true)
this.enableApi = this.getParamToggle(params, 'api', this.enableApi) this.enableApi = this.getParamToggle(params, 'api', this.enableApi)