Update player.js

This commit is contained in:
A-Circle Zhang 2018-08-22 12:24:14 +08:00 committed by GitHub
parent 7889126c20
commit 76eed8e570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -436,8 +436,8 @@ 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) {
// 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 load failed'), -1);