From 7376cb1e99eeb727151dd3373479b3f48cbd0973 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 19 Apr 2024 08:46:10 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20muted=3D"false"=20means=20still=20muted?= =?UTF-8?q?=20=F0=9F=A4=A6=E2=80=8D=E2=99=82=EF=B8=8F=F0=9F=A4=A6=E2=80=8D?= =?UTF-8?q?=E2=99=82=EF=B8=8F=F0=9F=A4=A6=E2=80=8D=E2=99=82=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/media.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/media.jsx b/src/components/media.jsx index 8192016..ce2f13a 100644 --- a/src/components/media.jsx +++ b/src/components/media.jsx @@ -388,7 +388,7 @@ function Media({ data-orientation="${orientation}" preload="auto" autoplay - muted="${isGIF}" + ${isGIF ? 'muted' : ''} ${isGIF ? '' : 'controls'} playsinline loop="${loopable}"