diff --git a/v3/src/sound/html5/HTML5AudioSoundManager.js b/v3/src/sound/html5/HTML5AudioSoundManager.js index 1d3789270..3f477c596 100644 --- a/v3/src/sound/html5/HTML5AudioSoundManager.js +++ b/v3/src/sound/html5/HTML5AudioSoundManager.js @@ -19,6 +19,12 @@ var HTML5AudioSoundManager = new Class({ sound.pause(); } }); + }, + onFocus: function () { + this.onBlurPausedSounds.forEach(function (sound) { + sound.resume(); + }); + this.onBlurPausedSounds.length = 0; } }); module.exports = HTML5AudioSoundManager;