Skip to content

Commit

Permalink
Fix muted="false" means still muted πŸ€¦β€β™‚οΈπŸ€¦β€β™‚οΈπŸ€¦β€β™‚οΈ
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Apr 19, 2024
1 parent ffbae70 commit 7376cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/media.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ function Media({
data-orientation="${orientation}"
preload="auto"
autoplay
muted="${isGIF}"
${isGIF ? 'muted' : ''}
${isGIF ? '' : 'controls'}
playsinline
loop="${loopable}"
Expand Down

0 comments on commit 7376cb1

Please sign in to comment.