Skip to content

Commit

Permalink
Merge pull request #6 from Iinpark/ui
Browse files Browse the repository at this point in the history
fix: muted autoplay
  • Loading branch information
Iinpark committed Jul 29, 2023
2 parents be45939 + 7b9664c commit 1200967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/ui/Media/YTIframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const YTIframe = (props: YTIframeProps) => {
className='yt-iframe'
width={width}
height={height}
src={`https://www.youtube.com/embed/${vidId}?autoplay=1`}
src={`https://www.youtube.com/embed/${vidId}?autoplay=1&mute=1`}
title='YouTube video player'
frameborder='0'
allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'
Expand Down

0 comments on commit 1200967

Please sign in to comment.