The embedded video method does not seem to be working

This commit is contained in:
Derek Slenk 2025-06-26 19:53:53 +00:00
parent 9d87399ba8
commit 8125a1449a

View file

@ -32,7 +32,7 @@ export default function GalleryPage() {
{videos.map((video) => ( {videos.map((video) => (
<div key={video.id} className="bg-card p-4 rounded-lg shadow-sm border"> <div key={video.id} className="bg-card p-4 rounded-lg shadow-sm border">
<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.com/embed/${video.id}`}
title={`YouTube video player: ${video.title}`} title={`YouTube video player: ${video.title}`}