studentofit — 2012-08-13T02:26:44-04:00 — #1
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
popartns — 2012-08-13T06:48:05-04:00 — #2
Maybe you should check Chrome compatibility
studentofit — 2012-08-13T07:21:58-04:00 — #3
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
technobear — 2012-08-13T10:52:12-04:00 — #4
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.
studentofit — 2012-08-13T16:46:19-04:00 — #5
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.
studentofit — 2012-08-15T00:35:53-04:00 — #6
sogo7 — 2012-08-15T22:43:08-04:00 — #7
Try this link http://www.w3schools.com/html5/html5_audio.asp about the HTML5 <audio> tag, you should find it informative.
studentofit — 2012-08-15T22:58:20-04:00 — #8
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