Skip to content

Commit 735cf10

Browse files
Dispatching SOUND_ENDED event when sound ends, obviously :)
1 parent 72955bf commit 735cf10

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ var HTML5AudioSound = new Class({
178178
else {
179179
this.reset();
180180
this.stopAndReleaseAudioTag();
181+
this.events.dispatch(new SoundEvent(this, 'SOUND_ENDED'));
181182
}
182183
}
183184
}

0 commit comments

Comments
 (0)