fix: error notice not disappear

This commit is contained in:
DIYgod
2023-01-22 15:23:38 +00:00
parent 6e780e048d
commit 255bbac7a4
+1 -1
View File
@@ -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