From 07c389ffd8c7bf838cfbaf3efcb4b30fecf4120f Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Thu, 28 Aug 2025 11:45:34 +0000 Subject: [PATCH] Remove unnecessary tags and categories from video metadata Remove the `category` field from Bunny.net video metadata and delete console logs in the VideoPage component. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d7424866-83d1-4486-a212-ac12b4c7becf Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/d7424866-83d1-4486-a212-ac12b4c7becf/KMtNiYn --- client/src/pages/VideoPage.tsx | 13 ++----------- server/bunny.ts | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index acef545..d42edd7 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -67,10 +67,7 @@ export default function VideoPage() { const recommendedVideos = recommendedResponse?.videos?.filter(v => v.id !== videoId) || []; - // Debug log - console.log('Current video ID:', videoId); - console.log('Recommended response:', recommendedResponse); - console.log('Filtered recommended videos:', recommendedVideos); + // Track video view const handleVideoPlay = async () => { @@ -219,13 +216,7 @@ export default function VideoPage() { {formatDate(currentVideo.createdAt)} - {currentVideo.category && ( -
- - {currentVideo.category} - -
- )} + {currentVideo.description && (
diff --git a/server/bunny.ts b/server/bunny.ts index e1cd7ed..e1d91a5 100644 --- a/server/bunny.ts +++ b/server/bunny.ts @@ -70,7 +70,7 @@ export class BunnyService { videoUrlIframe: iframeUrl, // iframe fallback duration: Math.floor(bunnyVideo.length || 0), views: bunnyVideo.views || 0, - category: bunnyVideo.category || "", + category: "", tags: [], isPublic: true, uploadStatus: "completed",