mercredi 11 février 2015

How to rewind Ext.audio?

The default behavior is to rewind the bell when it is finished playing, but I don't see a way to manually rewind the sound to the beginning in order to play it again before it's finished. So calling play before the sound finishes does nothing.

I know this is implemented in the HTML5 <audio>, so what's the best way to do this? Just set the currentTime attribute on the audio myself? I don't want to break the Audio.js code...


Thanks!






How to rewind Ext.audio?

Aucun commentaire:

Enregistrer un commentaire