Improve video player functionality and enable full screen viewing
Enable fullscreen and controls on video player; set iframe properties and poster URL. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 50814a1e-92e4-4968-856f-7bc7eedf5e8f Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/50814a1e-92e4-4968-856f-7bc7eedf5e8f/ZePu5CD
This commit is contained in:
@@ -174,8 +174,9 @@ export default function VideoPage() {
|
||||
<iframe
|
||||
src={video.videoUrl}
|
||||
className="w-full h-full"
|
||||
allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;"
|
||||
allowFullScreen
|
||||
allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture; fullscreen;"
|
||||
allowFullScreen={true}
|
||||
frameBorder="0"
|
||||
data-testid="video-iframe"
|
||||
/>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user