round seek element

This commit is contained in:
j 2024-12-14 19:46:20 +00:00
commit 85eba0bf09
2 changed files with 9 additions and 6 deletions

View file

@ -226,6 +226,9 @@ window.VideoPlayer = function(options) {
}
var showControls
function hideControlsLater() {
if (showControls) {
clearTimeout(showControls)
}
showControls = setTimeout(() => {
if (touching) {
hideControlsLater()