Fix saved mute in embed
This commit is contained in:
parent
850ea77864
commit
64645512b0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue