Skip to content

Commit f997154

Browse files
authored
updating yt component to only show relevant videos (#21450)
1 parent 91bdbab commit f997154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/YouTube.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (!title) {
1919

2020
<div style="position: relative; padding-top: 56.25%">
2121
<iframe
22-
src=`https://www.youtube-nocookie.com/embed/${id}`
22+
src=`https://www.youtube-nocookie.com/embed/${id}?rel=0`
2323
title="YouTube video player"
2424
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
2525
style="border: none; position: absolute; top: 0; left: 0; height: 100%; width: 100%;"

0 commit comments

Comments
 (0)