Improve social sharing thumbnails for videos across the platform

Updates thumbnail generation to use a more reliable thumbnail proxy endpoint.

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/EB1kgAB
This commit is contained in:
sebastjanartic
2025-08-04 19:36:02 +00:00
parent ea9dbe1b2f
commit c5f44b85d0
3 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ export class BunnyService {
// use iframe embed approach for reliable video playback
const videoUrl = `https://iframe.mediadelivery.net/embed/${this.libraryId}/${bunnyVideo.guid}?controls=true&autoplay=false`;
// Use proxy endpoint for social sharing compatibility
// Use proxy endpoint that will try multiple thumbnail sources
const thumbnailUrl = `/thumbnail/${bunnyVideo.guid}`;
return {