Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix saved mute in embed

Chocobozzz64645512b088
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index e3bcbc010e..879850daf6 100644
--- 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)