1
0
Fork 0

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

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)