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

@ -302,6 +302,9 @@ class Plyr {
if (this.config.autoplay) {
this.play();
}
// Seek time will be recorded (in listeners.js) so we can prevent hiding controls for a few seconds after seek
this.lastSeekTime = 0;
}
// ---------------------------------------