diff --git a/src/howler.core.js b/src/howler.core.js index afd8e6df..1ed69eb5 100644 --- a/src/howler.core.js +++ b/src/howler.core.js @@ -736,18 +736,16 @@ node.volume = sound._volume * Howler.volume(); node.playbackRate = sound._rate; - setTimeout(function() { - node.play(); + node.play(); - // Setup the new end timer. - if (timeout !== Infinity) { - self._endTimers[sound._id] = setTimeout(self._ended.bind(self, sound), timeout); - } + // Setup the new end timer. + if (timeout !== Infinity) { + self._endTimers[sound._id] = setTimeout(self._ended.bind(self, sound), timeout); + } - if (!internal) { - self._emit('play', sound._id); - } - }, 0); + if (!internal) { + self._emit('play', sound._id); + } }; // Play immediately if ready, or wait for the 'canplaythrough'e vent.