Prevent immediate hiding of controls on mobile

This commit is contained in:
James
2018-10-23 10:08:46 +11:00
parent fac134dd95
commit 69d0d6d7ee
3 changed files with 11 additions and 2 deletions

View File

@ -620,6 +620,9 @@ class Listeners {
return;
}
// Record seek time so we can prevent hiding controls for a few seconds after seek
player.lastSeekTime = Date.now();
// Was playing before?
const play = seek.hasAttribute(attribute);