longer overlay

This commit is contained in:
j 2021-10-11 19:55:54 +01:00
parent 17c2ac8f5a
commit ea1fcb110d

View file

@ -157,7 +157,7 @@ function showOverlay(event) {
var timeout = setTimeout(() => {
video.controls = false
overlay.remove()
}, 500)
}, 3000)
overlay.addEventListener('mousemove', event=> {
clearTimeout(timeout)
timeout = setTimeout(() => {