We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8e64c5 commit 27179b6Copy full SHA for 27179b6
1 file changed
src/sound/html5/HTML5AudioSoundManager.js
@@ -100,6 +100,13 @@ var HTML5AudioSoundManager = new Class({
100
this.sounds.push(sound);
101
return sound;
102
},
103
+ /**
104
+ * Unlocks HTML5 Audio loading and playback on mobile
105
+ * devices on the initial explicit user interaction.
106
+ *
107
+ * @private
108
+ * @method Phaser.Sound.HTML5AudioSoundManager#unlock
109
+ */
110
unlock: function () {
111
var _this = this;
112
var moved = false;
0 commit comments