From 255bbac7a4e0b423e91eb6c07aca146523bf61a6 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 22 Jan 2023 15:23:38 +0000 Subject: [PATCH] fix: error notice not disappear --- src/js/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/player.js b/src/js/player.js index 001c2bf..36b9df5 100644 --- a/src/js/player.js +++ b/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