Hey Guy's. I'm in progress of making a wee website.
Trying to get an MP3 file to play on startup and loop when it's finished.
So far I've got
But it wont loop.
P.s Looking for something like this: http://chickenonaraft.com/
asked Oct 16 '12 at 08:19
Actually, having done a bit of digging around it seems that things have gotten even more complicated since I last did anything with sound files in HTML. It may well be that loop is not available in any configuration, at least not in any consistent way. I think you'll be better off using an embedded player and let someone else take care of the headaches! There are some suggestions here ....
... which include default fallbacks for incomnpatible browsers to ensure that everybody gets sound from your page!
answered Oct 16 '12 at 10:44
Embed is not fully supported by many modern browsers and loop doesn't appear to be supported by any! You should use Object instead.
answered Oct 16 '12 at 09:05