Update plyr.js
This commit is contained in:
parent
1ade83b5ae
commit
cdc586c590
|
@ -2619,11 +2619,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear timer every movement
|
// 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 the mouse is not over the controls, set a timeout to hide them
|
||||||
if (show || plyr.media.paused || loading) {
|
if (show || plyr.media.paused || loading) {
|
||||||
_toggleClass(plyr.container, config.classes.hideControls, false);
|
_toggleClass(plyr.container, config.classes.hideControls, true);
|
||||||
|
|
||||||
// Always show controls when paused or if touch
|
// Always show controls when paused or if touch
|
||||||
if (plyr.media.paused || loading) {
|
if (plyr.media.paused || loading) {
|
||||||
|
@ -2645,7 +2645,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_toggleClass(plyr.container, config.classes.hideControls, false);
|
_toggleClass(plyr.container, config.classes.hideControls, true);
|
||||||
}, delay);
|
}, delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user