]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
add youtube embed referrerpolicy
authorCameron Otsuka <cameron@otsuka.haus>
Sun, 23 Nov 2025 22:40:31 +0000 (14:40 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Sun, 23 Nov 2025 22:40:31 +0000 (14:40 -0800)
src/components/youtube.astro

index 0bc9eb65cde24a8105ce1ded894ac29fc406be04..636a835745cbb6e7fd87c5600e45eda9b98724c8 100644 (file)
@@ -16,6 +16,7 @@ const videoID = url.searchParams.get("v");
     title={title}
     loading="lazy"
     allow="fullscreen"
+    referrerpolicy="strict-origin-when-cross-origin"
 ></iframe>
 
 <style>