We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18cd227 commit 5b371dbCopy full SHA for 5b371db
1 file changed
src/sound/html5/HTML5AudioSound.js
@@ -264,6 +264,13 @@ var HTML5AudioSound = new Class({
264
reset: function () {
265
BaseSound.prototype.stop.call(this);
266
},
267
+ /**
268
+ * Method used internally by sound manager for pausing sound if
269
+ * Phaser.Sound.HTML5AudioSoundManager#pauseOnBlur is set to true.
270
+ *
271
+ * @private
272
+ * @method Phaser.Sound.HTML5AudioSoundManager#onBlur
273
+ */
274
onBlur: function () {
275
this.isPlaying = false;
276
this.isPaused = true;
0 commit comments