Pārlūkot izejas kodu

Update player.js

A-Circle Zhang 7 gadi atpakaļ
vecāks
revīzija
520e92b1f7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;