我正在使用SoundJS播放音乐。如何检测歌曲何时结束?
SoundJS可以检测事件,有没有一首歌结束时的事件?如下所示:
var songInstance = createjs.Sound.play("sound");
songInstance.on("_SONG_ENDED_", function(){
//do something after song has ended
});https://stackoverflow.com/questions/41231615
复制相似问题