diff --git a/server/bunny.ts b/server/bunny.ts index 0f831b2..f973ca8 100644 --- a/server/bunny.ts +++ b/server/bunny.ts @@ -107,7 +107,7 @@ export class BunnyService { thumbnailUrl, customThumbnailUrl: null, videoUrl: hlsUrl, // Signed HLS URL - videoUrlMp4: null, // Remove MP4 since it likely won't work for private videos + videoUrlMp4: `https://${this.hostname}/${bunnyVideo.guid}/play_720p.mp4`, // Direct MP4 URL for preview videoUrlIframe: iframeUrl, // iframe fallback duration: Math.floor(bunnyVideo.length || 0), views: bunnyVideo.views || 0, @@ -121,6 +121,9 @@ export class BunnyService { resolution: null, format: null, encoding: null, + faceCenterPosition: null, + facesDetected: null, + faceConfidence: null, createdAt: new Date(bunnyVideo.dateUploaded), updatedAt: new Date(bunnyVideo.dateUploaded) };