DIYgod 9 anni fa
parent
commit
de22a18af8
3 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 0 0
      dist/DPlayer.min.js
  2. 0 0
      dist/DPlayer.min.js.map
  3. 2 2
      src/DPlayer.js

File diff suppressed because it is too large
+ 0 - 0
dist/DPlayer.min.js


File diff suppressed because it is too large
+ 0 - 0
dist/DPlayer.min.js.map


+ 2 - 2
src/DPlayer.js

@@ -685,7 +685,7 @@
                     }
                 }
             };
-            xhr.open('get', this.option.danmaku.add, true);
+            xhr.open('get', this.option.danmaku.get, true);
             xhr.send(null);
         }
         else {
@@ -791,7 +791,7 @@
                     }
                 }
             };
-            xhr.open('post', this.option.danmaku.get, true);
+            xhr.open('post', this.option.danmaku.add, true);
             xhr.send(JSON.stringify(danmakuData));
 
             commentInput.value = '';

Some files were not shown because too many files changed in this diff