aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 17336f06..50b9458e 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -972,15 +972,7 @@ class Plyr {
// If toggle is false or if we're playing (regardless of toggle),
// then set the timer to hide the controls
if (!show || this.playing) {
- this.timers.controls = window.setTimeout(() => {
- /* this.debug.warn({
- pressed: this.elements.controls.pressed,
- hover: this.elements.controls.pressed,
- playing: this.playing,
- paused: this.paused,
- loading: this.loading,
- }); */
-
+ this.timers.controls = setTimeout(() => {
// If the mouse is over the controls (and not entering fullscreen), bail
if ((this.elements.controls.pressed || this.elements.controls.hover) && !isEnterFullscreen) {
return;
@@ -1111,7 +1103,7 @@ class Plyr {
}
// Vimeo does not always return
- window.setTimeout(done, 200);
+ setTimeout(done, 200);
break;