From db5f4b16793c68d44ce02a13c60010a7aa385b9e Mon Sep 17 00:00:00 2001 From: bmy <2271608011@qq.com> Date: Sun, 31 May 2026 02:20:54 +0800 Subject: [PATCH] d --- newKs/src/public/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/newKs/src/public/index.html b/newKs/src/public/index.html index 1df0342..6811a57 100644 --- a/newKs/src/public/index.html +++ b/newKs/src/public/index.html @@ -12,6 +12,7 @@ list-style: none; font-size: 0; line-height: 0; + background: #000; } ul { display: flex; @@ -199,7 +200,10 @@ ul.addEventListener("mouseleave", (e) => { if (e.target.tagName === "VIDEO") { - e.target.pause(); + let video = e.target + video.pause(); + video.src = ""; + video.src = video.dataset.src; } }, true);