Skip to content

Commit

Permalink
feat: Update YouTube player to suggest videos only from my channel
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbienias committed Aug 19, 2023
1 parent e6d7e04 commit 3b7f196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/YouTubePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function YouTubePlayer({ videoId }: { videoId: number }) {
<div className="video">
<iframe
title="YouTube video player"
src={`https://www.youtube.com/embed/${videoId}`}
src={`https://www.youtube.com/embed/${videoId}?rel=0`}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowFullScreen
/>
Expand Down

0 comments on commit 3b7f196

Please sign in to comment.