aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-27 10:45:16 +0100
committerChocobozzz <me@florianbigard.com>2020-02-28 13:45:42 +0100
commit64645512b08875c18ebdc009a550cdfa69def955 (patch)
tree5e5097b324ca6cae8dac16ff4b8f8787a982ab24 /client/src/standalone/videos/embed.ts
parent850ea778644b7cb5811198a464b9b687dc3fe582 (diff)
downloadPeerTube-64645512b08875c18ebdc009a550cdfa69def955.tar.gz
PeerTube-64645512b08875c18ebdc009a550cdfa69def955.tar.zst
PeerTube-64645512b08875c18ebdc009a550cdfa69def955.zip
Fix saved mute in embed
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r--client/src/standalone/videos/embed.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index e3bcbc010..879850daf 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -129,7 +129,7 @@ export class PeerTubeEmbed {
129 129
130 this.autoplay = this.getParamToggle(params, 'autoplay', false) 130 this.autoplay = this.getParamToggle(params, 'autoplay', false)
131 this.controls = this.getParamToggle(params, 'controls', true) 131 this.controls = this.getParamToggle(params, 'controls', true)
132 this.muted = this.getParamToggle(params, 'muted', false) 132 this.muted = this.getParamToggle(params, 'muted', undefined)
133 this.loop = this.getParamToggle(params, 'loop', false) 133 this.loop = this.getParamToggle(params, 'loop', false)
134 this.title = this.getParamToggle(params, 'title', true) 134 this.title = this.getParamToggle(params, 'title', true)
135 this.enableApi = this.getParamToggle(params, 'api', this.enableApi) 135 this.enableApi = this.getParamToggle(params, 'api', this.enableApi)