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
This commit is contained in:
sebastjanartic 2025-08-28 11:45:34 +00:00
parent 21b8f43c9b
commit 07c389ffd8
2 changed files with 3 additions and 12 deletions

View File

@ -67,10 +67,7 @@ export default function VideoPage() {
const recommendedVideos = recommendedResponse?.videos?.filter(v => v.id !== videoId) || []; 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 // Track video view
const handleVideoPlay = async () => { const handleVideoPlay = async () => {
@ -219,13 +216,7 @@ export default function VideoPage() {
<span>{formatDate(currentVideo.createdAt)}</span> <span>{formatDate(currentVideo.createdAt)}</span>
</div> </div>
{currentVideo.category && (
<div className="mb-4">
<span className="inline-block bg-bunny-blue text-white px-3 py-1 rounded-full text-sm">
{currentVideo.category}
</span>
</div>
)}
{currentVideo.description && ( {currentVideo.description && (
<div className="text-bunny-light"> <div className="text-bunny-light">

View File

@ -70,7 +70,7 @@ export class BunnyService {
videoUrlIframe: iframeUrl, // iframe fallback videoUrlIframe: iframeUrl, // iframe fallback
duration: Math.floor(bunnyVideo.length || 0), duration: Math.floor(bunnyVideo.length || 0),
views: bunnyVideo.views || 0, views: bunnyVideo.views || 0,
category: bunnyVideo.category || "", category: "",
tags: [], tags: [],
isPublic: true, isPublic: true,
uploadStatus: "completed", uploadStatus: "completed",