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); //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, false);
// 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, true); _toggleClass(plyr.container, config.classes.hideControls, false);
}, delay); }, delay);
} }
} }