Eminent Paper

let video = document.querySelector('video'); video.addEventListener('mouseenter', () => { video.play(); }); video.addEventListener('mouseleave', () => { video.pause(); video.currentTime = 0; });