From f466c7f2888a953c0a896b186413422f3aca8725 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Fri, 29 Aug 2025 11:10:24 +0000 Subject: [PATCH] Improve video card hover effect and adjust playback volume Update the z-index styling for the video card component to ensure proper layering on hover and remove the default volume attribute from the Video.js player. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/mZpi7Z1 --- client/src/components/video-card.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index f5ed101..66e32fd 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -163,12 +163,12 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP return (
setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} @@ -221,7 +221,6 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP loop playsInline preload="none" - volume={0.3} />
)}