瀏覽代碼

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

Fix switch quality video loop bug.
DIYgod 7 年之前
父節點
當前提交
3778020678
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/player.js

+ 1 - 1
src/js/player.js

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