Still says video unavailable in the preview
This commit is contained in:
parent
8125a1449a
commit
5387f3ff01
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue