Update plyr.js
This commit is contained in:
parent
9a1edde889
commit
48d1f870cd
|
@ -2605,7 +2605,7 @@
|
|||
show = _inArray(['mousemove', 'touchstart', 'mouseenter', 'focus'], toggle.type);
|
||||
|
||||
// Delay hiding on move events
|
||||
if (_inArray(['mouseleave'], toggle.type)) {
|
||||
if (_inArray(['mousemove', 'touchmove'], toggle.type)) {
|
||||
delay = 200;
|
||||
}
|
||||
|
||||
|
@ -2619,7 +2619,7 @@
|
|||
}
|
||||
|
||||
// Clear timer every movement
|
||||
window.clearTimeout(timers.hover);
|
||||
//window.clearTimeout(timers.hover);
|
||||
|
||||
// If the mouse is not over the controls, set a timeout to hide them
|
||||
if (show || plyr.media.paused || loading) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user