Update plyr.js
This commit is contained in:
parent
32db72f02e
commit
1ade83b5ae
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user