diff --git a/scripts/AudioPlayer.ts b/scripts/AudioPlayer.ts index c223dd4b..c7f085c6 100644 --- a/scripts/AudioPlayer.ts +++ b/scripts/AudioPlayer.ts @@ -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 => {