From 33bc3d8d5cbc66b17215ac9d538d5f70c472ae61 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 17:23:20 +0100 Subject: [PATCH] Using checkTouchLocked with seek property --- src/sound/html5/HTML5AudioSound.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sound/html5/HTML5AudioSound.js b/src/sound/html5/HTML5AudioSound.js index 9b908f83b..6c375274b 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -376,6 +376,9 @@ Object.defineProperty(HTML5AudioSound.prototype, 'seek', { } }, set: function (value) { + if (this.checkTouchLocked('property', 'seek', value)) { + return; + } if (this.startTime > 0) { return; }