how to add background music on my html page..

Discussion in 'HTML & Website Design' started by vaibhavmeswani, Sep 13, 2009.

  1. #1
    how to add background music on my html page.. which should work continuesly on all pages .. when user browse.
     
    vaibhavmeswani, Sep 13, 2009 IP
  2. dohno

    dohno Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i would load the main site in a frame if you want to make the music play continuously. but i suggest you put a stop button just in case users want to stop playing the music... some people might get annoyed :)
     
    dohno, Sep 13, 2009 IP
  3. vaibhavmeswani

    vaibhavmeswani Well-Known Member

    Messages:
    634
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    but what is the step to add sound , i have no idea u said u will load the site in frame but please explain me in detail no how to proceed ... i dont know ...
     
    vaibhavmeswani, Sep 13, 2009 IP
  4. DOCtriN

    DOCtriN Well-Known Member

    Messages:
    184
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Try these code
    <HTML>
    <HEAD>
    <TITLE> testing  </TITLE>
    </HEAD>
    <BODY>
    <EMBED SRC="yoursong.mid" HIDDEN="true" AUTOSTART="true"
      STARTTIME="00:10" ENDTIME="00:30">
    </BODY>
    </HTML>
    Code (markup):
    I've tried it and run well in IE
    Hopefully can help solve your problem
     
    DOCtriN, Sep 14, 2009 IP
  5. Brasil Servidores

    Brasil Servidores Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Be careful with certain scripts some of which may weigh heavily your page, I suggest that you create or download a ready to. SWF where you just put the Outreach of the .MP3 file
     
    Brasil Servidores, Sep 14, 2009 IP