1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

i want to have music on my home page

Discussion in 'HTML & Website Design' started by drew68, Jun 26, 2007.

  1. #1
    i have a site up right now www.gi2online.com

    i wanna have music play ...it's by godsmack....greed.

    i want to have it play for 18 or 20 seconds.

    can someone help with script for this? preferrably html script?

    thank you!
     
    drew68, Jun 26, 2007 IP
  2. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #2
    
    <bgsound src="music" loop="-1"> 
    
    Code (markup):
     
    it career, Jun 26, 2007 IP
  3. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #3

    where does the tag go? thank you!
     
    drew68, Jun 26, 2007 IP
  4. rochow

    rochow Notable Member

    Messages:
    3,991
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    240
    #4
    probably in the <body> tag...

    <body bgsound="music.mp3">
     
    rochow, Jun 26, 2007 IP
  5. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #5
    i tried inside the head tags and body tags and in between and it doesn't work.

    any ideas why?

    can you check out the source and tell me??

    thanks
     
    drew68, Jun 27, 2007 IP
  6. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #6
    bgsound itself is a tag. You can put it between anchor tag as well. It works for me.
     
    it career, Jun 27, 2007 IP
  7. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #7
    well it works for IE but doesn't work in FF.

    ??
     
    drew68, Jun 27, 2007 IP
  8. ChPeter

    ChPeter Peon

    Messages:
    974
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    you have a flash banner on your website.
    just put music to flash.
     
    ChPeter, Jun 27, 2007 IP
  9. puretalk

    puretalk Active Member

    Messages:
    607
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #9
    try this

    <div align="center">
    <div id=vpdiv><embed name="RAOCXplayer" src="http://www.lbfw.com/code-4077.php" type="application/x-mplayer2" width="300" height="300" ShowControls="1" ShowStatusBar="0" AutoSize="true" loop="true" EnableContextMenu="0" DisplaySize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed></div><a href="http://www.lbfw.com/">Music Video Codes</a>
     
    puretalk, Jun 27, 2007 IP
  10. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #10
    can't put that on the site.

    i just don't get how it could play in IE but not FF...noone knows??
     
    drew68, Jun 27, 2007 IP