From 1c2ebde84a3c5fdb65b40d0e20e0f51ddacbd98d Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Thu, 28 Aug 2025 21:28:34 +0000 Subject: [PATCH] Improve video player controls by hiding them by default Update BunnyService to hide video player controls by default in iframeUrl. 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/MT2TT17 --- server/bunny.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bunny.ts b/server/bunny.ts index 2298f6f..e29a277 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&hideControls=true&showControlsOnPlay=true`; + const iframeUrl = `https://iframe.mediadelivery.net/embed/${this.libraryId}/${bunnyVideo.guid}?preroll=false&postroll=false&ads=false&controls=false`; // Extract description from BunnyVideoDetails if available let description = 'description' in bunnyVideo ? bunnyVideo.description || "" : "";