From 5b16702b8292a2b2d2376e801078a07aef7f037f Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon, 10 May 2021 22:41:07 -0500 Subject: [PATCH] Battle log: Don't autoplay twitch tags (#1788) --- src/battle-log.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-log.ts b/src/battle-log.ts index 25a5e596e..30e8fbbbf 100644 --- a/src/battle-log.ts +++ b/src/battle-log.ts @@ -810,7 +810,7 @@ class BattleLog { return { tagName: 'iframe', attribs: [ - 'src', `https://player.twitch.tv/?channel=${channelId}&parent=${location.hostname}`, + 'src', `https://player.twitch.tv/?channel=${channelId}&parent=${location.hostname}&autoplay=false`, 'allowfullscreen', 'true', 'height', "400", 'width', "340", ], };