Skip to content

Commit 27179b6

Browse files
Updated unlock method docs
1 parent c8e64c5 commit 27179b6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ var HTML5AudioSoundManager = new Class({
100100
this.sounds.push(sound);
101101
return sound;
102102
},
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+
*/
103110
unlock: function () {
104111
var _this = this;
105112
var moved = false;

0 commit comments

Comments
 (0)