diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index d19e8b4..5b54515 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -205,15 +205,17 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP )} - {/* Title overlay - positioned above duration */} -
-
{video.title}
-
- {formatViews(video.views)} - - {formatDate(video.createdAt)} + {/* Title overlay - only show when not playing preview */} + {!showPreview && ( +
+
{video.title}
+
+ {formatViews(video.views)} + + {formatDate(video.createdAt)} +
-
+ )} {/* Duration badge */}