Wait for multiple audio files to finish loading then play them in sequence
HTML5 has onloadeddata for calling a method when the audio is loaded, and you can add listeners for a callback when it's finished playing. But how would it work with multiple audio files? How do you trigger a call when all of them are loaded?
Aucun commentaire:
Enregistrer un commentaire