diff --git a/src/sound/html5/HTML5AudioSound.js b/src/sound/html5/HTML5AudioSound.js index 93563999c..52b6f70d2 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -81,6 +81,10 @@ var HTML5AudioSound = new Class({ if (!this.pickAndPlayAudioTag()) { return false; } + /** + * @event Phaser.Sound.HTML5AudioSound#play + * @param {Phaser.Sound.HTML5AudioSound} sound - Reference to the sound that emitted event. + */ this.emit('play', this); return true; },