Wav files not working in chrome

Hi all, I installed chrome on one of my windows xp machines to see if I could get my html5 pages to work, which they did quite well, unfortunately my index page is a prior version of html and a couple of wav files that I have as background sound on that page don’t work, how can I get these files to work in chrome? This is the line of code that is affected <bgsound src=“shortlaugh.wav” loop=“once” /> <bgsound src=“WROCK.wav” loop=“once” /> What do I need to do here? Any help as always is greatly appreciated. Cheers

Maybe you should check Chrome compatibility

http://html5demos.com/

Thanx for the reply popartns but this is not a html5 page, after posting my query, I checked and its an xhtml page, if you read my post correctly you would see that the html5 pages work absolutely fine. Cheers

I’ve never heard of <bgsound>, and according to this reference, it’s an invention of IE and not supported by any other browser, so I’d guess that’s your problem.

Thanx TechnoBear I sort of knew it was IE only, but had no idea what to replace it with, I’ll try the <embed> tag and see how that works. Cheers mate, greatly appreciated.

Ok I tried the <embed> tag and the <object> tag and also some javascript I found through google, still nothing working in chrome though, any more suggestions please? Cheers

Try this link http://www.w3schools.com/html5/html5_audio.asp about the HTML5 <audio> tag, you should find it informative.

Thanx Sogo7 for the reply, I am well aware of the <audio> tag, but as I stated in post #3 this is an xhtml page not a html5 page and to make this a html5 page I would need to change about 300 pages that link to it so I’m looking for a simple alternative solution. Cheers