projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
850ea77
)
Fix saved mute in embed
author
Chocobozzz
<me@florianbigard.com>
Thu, 27 Feb 2020 09:45:16 +0000
(10:45 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 28 Feb 2020 12:45:42 +0000
(13:45 +0100)
client/src/standalone/videos/embed.ts
patch
|
blob
|
history
diff --git
a/client/src/standalone/videos/embed.ts
b/client/src/standalone/videos/embed.ts
index e3bcbc010e20f6222d4e57690422a8c12966a719..879850daf68adf461fbff343216f651b5d569f80 100644
(file)
--- a/
client/src/standalone/videos/embed.ts
+++ b/
client/src/standalone/videos/embed.ts
@@
-129,7
+129,7
@@
export class PeerTubeEmbed {
this.autoplay = this.getParamToggle(params, 'autoplay', false)
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.title = this.getParamToggle(params, 'title', true)
this.enableApi = this.getParamToggle(params, 'api', this.enableApi)