Update plyr.js

This commit is contained in:
noxy 2017-02-02 17:12:24 +00:00
parent 32db72f02e
commit 1ade83b5ae

View File

@ -2622,8 +2622,8 @@
//window.clearTimeout(timers.hover);
// If the mouse is not over the controls, set a timeout to hide them
//if (show || plyr.media.paused || loading) {
// _toggleClass(plyr.container, config.classes.hideControls, false);
if (show || plyr.media.paused || loading) {
_toggleClass(plyr.container, config.classes.hideControls, false);
// Always show controls when paused or if touch
if (plyr.media.paused || loading) {
@ -2645,7 +2645,7 @@
return;
}
_toggleClass(plyr.container, config.classes.hideControls, true);
_toggleClass(plyr.container, config.classes.hideControls, false);
}, delay);
}
}