diff --git a/layouts/partials/track-card.html b/layouts/partials/track-card.html
index c683e1a..ef4a9fd 100755
--- a/layouts/partials/track-card.html
+++ b/layouts/partials/track-card.html
@@ -1,5 +1,12 @@
{{/* Track Card Component */}}
-
+{{- $hasVideo := .Resources.GetMatch "preview.*" -}}
+ {})"
+ @mouseleave="hovering = false; if ($refs.video) { $refs.video.pause(); $refs.video.currentTime = 0; }"
+>
{{/* Cover Image/Video */}}
{{- with .Resources.GetMatch "cover.*" }}
@@ -7,7 +14,8 @@
@@ -22,18 +30,19 @@
{{/* Video preview on hover */}}
{{- with .Resources.GetMatch "preview.*" }}
{{- end }}
- {{/* Play overlay - hide if video exists */}}
- {{- if not (.Resources.GetMatch "preview.*") }}
+ {{/* Play overlay - only show if NO video exists */}}
+ {{- if not $hasVideo }}