Skip to content

Commit a050d7f

Browse files
authored
Remove suggested video on youtube video links (#299)
1 parent 8792ba9 commit a050d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/YouTubeEmbed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const YouTubeEmbed: React.FC<YouTubeEmbedProps> = ({ youtubeId }) => {
1010
<div className="youtube-embed__frame">
1111
<iframe
1212
className="youtube-embed__iframe"
13-
src={`https://www.youtube.com/embed/${youtubeId}`}
13+
src={`https://www.youtube.com/embed/${youtubeId}?rel=0`}
1414
title="YouTube video player"
1515
frameBorder="0"
1616
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"

0 commit comments

Comments
 (0)