From 196018d04a917ac41688dc5acac9e127f8195672 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 14:09:20 +0100 Subject: [PATCH] Updating load progress properties when sound is locked --- src/loader/filetypes/HTML5AudioFile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/loader/filetypes/HTML5AudioFile.js b/src/loader/filetypes/HTML5AudioFile.js index e4cbdda53..0e2de3a9d 100644 --- a/src/loader/filetypes/HTML5AudioFile.js +++ b/src/loader/filetypes/HTML5AudioFile.js @@ -102,6 +102,8 @@ var HTML5AudioFile = new Class({ { setTimeout(function () { + this.filesLoaded = this.filesTotal; + this.percentComplete = 1; this.onLoad(); }.bind(this));