hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 117 forks source link

audio loop issue in firefox #141

Closed dineshbala closed 10 years ago

dineshbala commented 11 years ago

Hi,

I used audioLoop method and the audio plays in loop perfectly in all browsers except firefox. Audio stops after playing one time in firefox. I found from the code that for firefox alone target.currentTime = 0 is set but not played, I added target.play() and the looping is perfect in firefox too.

Is this a correct solution? Please advise.

Also change in volume using setVolume method doesn't seems to affect the audios playing in loop.