From 64645512b08875c18ebdc009a550cdfa69def955 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 27 Feb 2020 10:45:16 +0100 Subject: Fix saved mute in embed --- client/src/standalone/videos/embed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/standalone/videos/embed.ts') 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 { 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) -- cgit v1.2.3