Still says video unavailable in the preview

This commit is contained in:
Derek Slenk 2025-06-26 20:17:26 +00:00
parent 8125a1449a
commit 5387f3ff01

View file

@ -34,7 +34,7 @@ export default function GalleryPage() {
<div className="relative overflow-hidden rounded-md" style={{ paddingTop: '56.25%' }}> <div className="relative overflow-hidden rounded-md" style={{ paddingTop: '56.25%' }}>
<iframe <iframe
className="absolute top-0 left-0 w-full h-full" className="absolute top-0 left-0 w-full h-full"
src={`https://www.youtube.com/embed/${video.id}`} src={`https://www.youtube-nocookie.com/embed/${video.id}`}
title={`YouTube video player: ${video.title}`} title={`YouTube video player: ${video.title}`}
frameBorder="0" frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"