Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Roger Federer is my God
    Roger Federer is my God's Avatar
    Guest

    HTML script to enable Mp3 as background music to my website?

    Currently, I can midi files to work as the background music of my website.

    However, can anyone suggest an HTML script that allows mp3 or wav files to play as background music?

  2. #2
    imsoumyadeep
    imsoumyadeep's Avatar
    Guest
    <SCRIPT TYPE="text/javascript">
    <!--
    var filename="hazy_shade_of_winter.mid";
    if (navigator.appName == "Microsoft Internet Explorer")
    document.writeln ('<BGSOUND SRC="' + filename + '">');
    else if (navigator.appName == "Netscape")
    document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60><P>');
    // -->
    </SCRIPT>
    <NOSCRIPT>
    <BGSOUND SRC="hazy_shade_of_winter.mid">
    </NOSCRIPT>

 

 

Quick Reply Quick Reply

Click here to log in


How many letters in the word Rabroad

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 10-17-2010, 12:54 AM
  2. Replies: 0
    Last Post: 05-12-2010, 10:27 PM
  3. Replies: 1
    Last Post: 03-16-2009, 03:32 PM
  4. Help with HTML script for background music on my site?
    By Roger Federer is my God in forum Discuss HTML
    Replies: 0
    Last Post: 12-02-2008, 01:41 PM
  5. HTML script to enable Mp3 as background music to my website?
    By Roger Federer is my God in forum Discuss HTML
    Replies: 0
    Last Post: 12-02-2008, 12:54 AM

Bookmarks

Posting Permissions

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