d
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user