Fix muted="false" means still muted 🤦‍♂️🤦‍♂️🤦‍♂️

This commit is contained in:
Lim Chee Aun 2024-04-19 08:46:10 +08:00
parent ffbae70178
commit 7376cb1e99

View file

@ -388,7 +388,7 @@ function Media({
data-orientation="${orientation}"
preload="auto"
autoplay
muted="${isGIF}"
${isGIF ? 'muted' : ''}
${isGIF ? '' : 'controls'}
playsinline
loop="${loopable}"