Added error message for failing audio decodes
This commit is contained in:
parent
4b54e4f2e8
commit
af724c0d84
@ -118,7 +118,14 @@ export default class AudioPlayer {
|
||||
|
||||
this.next()
|
||||
}
|
||||
}, console.error)
|
||||
}, err => {
|
||||
if(currentPlayId !== this.playId) {
|
||||
return
|
||||
}
|
||||
|
||||
this.arn.statusMessage.showError("Your browser can't decode this audio file.")
|
||||
console.error(err)
|
||||
})
|
||||
}
|
||||
|
||||
request.onprogress = e => {
|
||||
|
Loading…
Reference in New Issue
Block a user