The embedded video method does not seem to be working
This commit is contained in:
parent
9d87399ba8
commit
8125a1449a
1 changed files with 1 additions and 1 deletions
|
@ -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}`}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue