- {/* Video player */}
+ {/* Video player with Bunny.net iframe */}
- {currentVideo.videoUrlIframe ? (
-
- ) : (
-
- )}
+
{/* Video info */}
diff --git a/server/storage.ts b/server/storage.ts
index 34b3ce7..75b7fa8 100644
--- a/server/storage.ts
+++ b/server/storage.ts
@@ -79,7 +79,7 @@ export class DatabaseStorage implements IStorage {
title: row.title,
description: row.description,
thumbnailUrl: row.thumbnail_url,
- videoUrl: `https://vz-b9208a4c-8c8.b-cdn.net/${row.id}/playlist.m3u8`, // Direct HLS stream
+ videoUrl: `https://iframe.mediadelivery.net/embed/384105/${row.id}`, // Bunny.net iframe embed
duration: row.duration,
views: row.views,
category: row.category,
@@ -110,7 +110,7 @@ export class DatabaseStorage implements IStorage {
title: row.title,
description: row.description,
thumbnailUrl: row.thumbnail_url,
- videoUrl: `https://vz-b9208a4c-8c8.b-cdn.net/${row.id}/playlist.m3u8`, // HLS streaming URL
+ videoUrl: `https://iframe.mediadelivery.net/embed/384105/${row.id}`, // Bunny.net iframe embed
duration: row.duration,
views: row.views,
category: row.category,