ソースを参照

Update player.js

A-Circle Zhang 7 年 前
コミット
7889126c20
1 ファイル変更4 行追加0 行削除
  1. 4 0
      src/js/player.js

+ 4 - 0
src/js/player.js

@@ -436,6 +436,10 @@ 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) {
+                return
+            }
             this.tran && this.notice && this.type !== 'webtorrent' & this.notice(this.tran('Video load failed'), -1);
         });