fix: error notice not disappear

This commit is contained in:
DIYgod 2023-01-22 15:23:38 +00:00
parent 6e780e048d
commit 255bbac7a4
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

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