Browse Source

Merge pull request #320 from lino-network/yumin/fix-switch-quality-loop-bug

Fix switch quality video loop bug.
DIYgod 7 years ago
parent
commit
3778020678
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/js/player.js

+ 1 - 1
src/js/player.js

@@ -447,7 +447,7 @@ class DPlayer {
             }
             else {
                 this.seek(0);
-                video.play();
+                this.play();
             }
             if (this.danmaku) {
                 this.danmaku.danIndex = 0;