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);