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
This commit is contained in:
parent
46c58b77f2
commit
1c2ebde84a
@ -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 || "" : "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user