Update player.js
This commit is contained in:
parent
e4f25ce8ee
commit
7889126c20
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue