diff --git a/attached_assets/image_1756399694408.png b/attached_assets/image_1756399694408.png
new file mode 100644
index 0000000..84d6e83
Binary files /dev/null and b/attached_assets/image_1756399694408.png differ
diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx
index df5c06a..aeb0703 100644
--- a/client/src/pages/VideoPage.tsx
+++ b/client/src/pages/VideoPage.tsx
@@ -2,7 +2,7 @@ import { useState, useEffect } from "react";
import { useQuery } from "@tanstack/react-query";
import { useRoute } from "wouter";
import { type Video } from "@shared/schema";
-import VideoAds from "@/components/video-ads";
+
import go4LogoPath from "@assets/go4_1756394900352.png";
// Helper functions
const formatViews = (views: number): string => {
@@ -320,11 +320,6 @@ export default function VideoPage() {
{currentVideo.description}
)}
-
- {/* Video ads metadata section */}
-
-
-
diff --git a/server/bunny.ts b/server/bunny.ts
index 34e0d3a..ee0f8d0 100644
--- a/server/bunny.ts
+++ b/server/bunny.ts
@@ -70,7 +70,7 @@ export class BunnyService {
return response.json();
}
- private bunnyVideoToVideo(bunnyVideo: BunnyVideo): Video {
+ private bunnyVideoToVideo(bunnyVideo: BunnyVideo | BunnyVideoDetails): Video {
// Generate optimized thumbnail URL from Bunny CDN with WebP format for better performance
const thumbnailUrl = bunnyVideo.thumbnailFileName
? `https://${this.hostname}/${bunnyVideo.guid}/${bunnyVideo.thumbnailFileName}?width=400&height=225&format=webp`
@@ -80,10 +80,13 @@ export class BunnyService {
const hlsUrl = this.generateSignedUrl(bunnyVideo.guid);
const iframeUrl = `https://iframe.mediadelivery.net/embed/${this.libraryId}/${bunnyVideo.guid}?preroll=false&postroll=false&ads=false`;
+ // Extract description from BunnyVideoDetails if available
+ const description = 'description' in bunnyVideo ? bunnyVideo.description || "" : "";
+
return {
id: bunnyVideo.guid,
title: bunnyVideo.title || 'Untitled Video',
- description: "", // Bunny API doesn't return description in list view
+ description: description,
thumbnailUrl,
customThumbnailUrl: null,
videoUrl: hlsUrl, // Signed HLS URL
@@ -133,7 +136,9 @@ export class BunnyService {
async getVideo(guid: string): Promise