diff --git a/attached_assets/image_1756826816939.png b/attached_assets/image_1756826816939.png new file mode 100644 index 0000000..fb8f962 Binary files /dev/null and b/attached_assets/image_1756826816939.png differ diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index e1922b5..9994e30 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -54,11 +54,20 @@ export default function VideoCard({ video, onClick, className = "", hideOverlay // Enable video preview on hover for desktop devices useEffect(() => { + console.log(`VideoCard hover state changed for ${video.id}:`, { + isHovered, + windowWidth: window.innerWidth, + hasVideoUrl: !!video.videoUrl, + videoUrl: video.videoUrl + }); + if (isHovered) { // Enable preview for desktop devices after delay if (window.innerWidth >= 768) { const delay = 800; + console.log(`Setting preview timeout for video ${video.id}`); hoverTimeoutRef.current = setTimeout(() => { + console.log(`Activating preview for video ${video.id}`); setShowPreview(true); }, delay); } diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 257609a..be2c6e4 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -202,8 +202,15 @@ export default function Home() { {/* Footer */} -