SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Location
    Brisbane Australia
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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" />&nbsp;<bgsound src="WROCK.wav" loop="once" /> What do I need to do here? Any help as always is greatly appreciated. Cheers

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2011
    Location
    Novi Sad
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe you should check Chrome compatibility

    http://html5demos.com/

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Location
    Brisbane Australia
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,088
    Mentioned
    256 Post(s)
    Tagged
    5 Thread(s)
    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.
    Take plenty of exercise walk round and round the garden
    or
    sign up now for the Isle of Jura 10K or Half Marathon!

  5. #5
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Location
    Brisbane Australia
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  6. #6
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Location
    Brisbane Australia
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  7. #7
    SitePoint Zealot Sogo7's Avatar
    Join Date
    May 2011
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Try this link http://www.w3schools.com/html5/html5_audio.asp about the HTML5 <audio> tag, you should find it informative.
    Lovelogic.net Personal Projects Pit - Spammers welcome

  8. #8
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Location
    Brisbane Australia
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •