瀏覽代碼

Update player.js

A-Circle Zhang 7 年之前
父節點
當前提交
76eed8e570
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/player.js

+ 1 - 1
src/js/player.js

@@ -436,8 +436,8 @@ class DPlayer {
 
         // video download error: an error occurs
         this.on('error', () => {
-            // Not a video load error, may be poster load failed, see #307
             if (!this.video.error) {
+                // Not a video load error, may be poster load failed, see #307
                 return
             }
             this.tran && this.notice && this.type !== 'webtorrent' & this.notice(this.tran('Video load failed'), -1);