mardi 4 août 2015

How to play a number of sounds in sequence with JavaScript?

I have a number of mp3 sounds (i, y, e etc.). I would like to play them in a sequence (i.e. without any pauses between them) when user pressed the button based on the word given by user in the text field (for ex., eye).

I know that audio could be played with usage of the following HTML:

<source type="audio/mpeg" id="mp3"></source>

but looks like this is different from what I need.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire