From 46c58b77f25f80b13b78da66debd4298eb45c93d Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Thu, 28 Aug 2025 21:27:21 +0000 Subject: [PATCH] Improve video player controls to show on interaction Update the iframe URL to hide video player controls by default, revealing them upon user interaction. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/4n9tA4p --- server/bunny.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bunny.ts b/server/bunny.ts index 64c78e6..2298f6f 100644 --- a/server/bunny.ts +++ b/server/bunny.ts @@ -79,7 +79,7 @@ export class BunnyService { // Generate signed HLS URL for private video access const hlsUrl = this.generateSignedUrl(bunnyVideo.guid); - const iframeUrl = `https://iframe.mediadelivery.net/embed/${this.libraryId}/${bunnyVideo.guid}?preroll=false&postroll=false&ads=false&bigPlayButton=false¢erPlayButton=false`; + const iframeUrl = `https://iframe.mediadelivery.net/embed/${this.libraryId}/${bunnyVideo.guid}?preroll=false&postroll=false&ads=false&bigPlayButton=false¢erPlayButton=false&hideControls=true&showControlsOnPlay=true`; // Extract description from BunnyVideoDetails if available let description = 'description' in bunnyVideo ? bunnyVideo.description || "" : "";