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(() => { var timeout = setTimeout(() => {
video.controls = false video.controls = false
overlay.remove() overlay.remove()
}, 500) }, 3000)
overlay.addEventListener('mousemove', event=> { overlay.addEventListener('mousemove', event=> {
clearTimeout(timeout) clearTimeout(timeout)
timeout = setTimeout(() => { timeout = setTimeout(() => {