Parcourir la source

Update player.js

A-Circle Zhang il y a 7 ans
Parent
commit
520e92b1f7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;