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:
parent
21b8f43c9b
commit
07c389ffd8
@ -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() {
|
||||
<span>{formatDate(currentVideo.createdAt)}</span>
|
||||
</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 && (
|
||||
<div className="text-bunny-light">
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user