I recently played with HTML5 audio, and although I can get it to play the sound it will ever play. No matter what I try (setting properties, event handlers, etc.), I cannot get it to loop.
Here is the base code I'm using:
I am testing with Chrome (6.0.466.0 dev) and Firefox (4 beta 1), both of which seem to gladly ignore my loop requests. Any ideas?
UPDATE : the loop property is now supported in all major browsers.
javascript html5 html5-audio
Toji Jul 17 '10 at 22:40 2010-07-17 22:40
source share