瀏覽代碼

danmaku url bug

DIYgod 9 年之前
父節點
當前提交
de22a18af8
共有 3 個文件被更改,包括 2 次插入2 次删除
  1. 0 0
      dist/DPlayer.min.js
  2. 0 0
      dist/DPlayer.min.js.map
  3. 2 2
      src/DPlayer.js

文件差異過大導致無法顯示
+ 0 - 0
dist/DPlayer.min.js


文件差異過大導致無法顯示
+ 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 = '';

部分文件因文件數量過多而無法顯示