Remove forced autoplay for embedded videos

Update VideoPage.tsx to remove the 'autoplay=1' query parameter from the iframe src attribute for embedded videos.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 344ec1e0-1186-4058-bbff-2e9619a7b1e0
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/344ec1e0-1186-4058-bbff-2e9619a7b1e0/zJYuV6w
This commit is contained in:
sebastjanartic 2025-08-30 23:24:56 +00:00
parent 81ea7abde1
commit 3b988f2566

View File

@ -454,7 +454,7 @@ export default function VideoPage() {
/>
{currentVideo.videoUrlIframe ? (
<iframe
src={`${currentVideo.videoUrlIframe}${currentVideo.videoUrlIframe.includes('?') ? '&' : '?'}autoplay=1`}
src={currentVideo.videoUrlIframe}
className="absolute inset-0 w-full h-full"
style={{ pointerEvents: 'auto' }}
frameBorder="0"