Browse Source

longer autohide controller time

DIYgod 7 years ago
parent
commit
743b3d053b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/js/controller.js

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "dplayer",
   "name": "dplayer",
-  "version": "1.20.1",
+  "version": "1.20.2",
   "description": "Wow, such a lovely HTML5 danmaku video player",
   "description": "Wow, such a lovely HTML5 danmaku video player",
   "main": "dist/DPlayer.min.js",
   "main": "dist/DPlayer.min.js",
   "style": "dist/DPlayer.min.css",
   "style": "dist/DPlayer.min.css",

+ 1 - 1
src/js/controller.js

@@ -220,7 +220,7 @@ class Controller {
             if (this.player.video.played.length && !this.disableAutoHide) {
             if (this.player.video.played.length && !this.disableAutoHide) {
                 this.hide();
                 this.hide();
             }
             }
-        }, 2000);
+        }, 3000);
     }
     }
 
 
     show () {
     show () {