Jelajahi Sumber

fix: error notice not disappear

DIYgod 2 tahun lalu
induk
melakukan
255bbac7a4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/js/player.js

+ 1 - 1
src/js/player.js

@@ -507,7 +507,7 @@ class DPlayer {
                 // 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-failed'), -1);
+            this.tran && this.notice && this.type !== 'webtorrent' && this.notice(this.tran('video-failed'));
         });
 
         // video end