background music.. help

Discussion in 'Graphics & Multimedia' started by elmasry, Feb 1, 2008.

  1. #1
    hi , I'm desinging a portfolio website and I want to put a background music but the problem that I have to put it in every single page and that will make the music repeat from the begging when you load every page.

    my question is how to make the background music plays while you're browsing the site?

    thanks in advance
     
    elmasry, Feb 1, 2008 IP
  2. greenline

    greenline Banned

    Messages:
    910
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    My tip: Dont use background music, it makes the page load slower :/ And sometimes its annoying >.<
     
    greenline, Feb 1, 2008 IP
  3. elmasry

    elmasry Active Member

    Messages:
    599
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    but I choosed a one that's abosolutely not annoying and very its is very small
     
    elmasry, Feb 1, 2008 IP
  4. j00

    j00 Guest

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <embed src="example.mp3" width="360" height="165" />
    Code (markup):
    Adjust your width and height you can make it so people can't stop the music and must listin but that would be annoying just change width="0" height="0".

    I also found these attributes that may be useful to you as well.

    autostart="false"     -This would start the player soon as page fully loads.
    loop="false"         -This would restart the music once the song ends.
    volume="60"     -Use 0-100 for the the volume.
    Code (markup):

    So say you wanna add the autostart feature to your music code just simply place it in like below.
    <embed src="example.mp3" autostart="false" width="360" height="165" />
    Code (markup):

    Any further problems PM me. I'm not the best with HTML but this should work. This will make your page load a bit slower.
     
    j00, Feb 1, 2008 IP
  5. elmasry

    elmasry Active Member

    Messages:
    599
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    thanks but I know these code.. I think you didn't understand my problem.. the problem that if I added these code to the homepage the visitor will just listen to the music in the homepage and when he go to any other page like "about me" the song will stop and if I added the same code in "About me" page the song will start from the begging again .. what I want is that the song never stop and start again when the visitor browse my site.. I wish you could help me
     
    elmasry, Feb 1, 2008 IP
  6. alan_smithee

    alan_smithee Active Member

    Messages:
    873
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #6
    use iframe then, put it somewhere in header or footer and make it seamless with the rest of your site
     
    alan_smithee, Feb 1, 2008 IP
  7. elmasry

    elmasry Active Member

    Messages:
    599
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #7
    more details plz? because it didn't work for me
     
    elmasry, Feb 1, 2008 IP
  8. Saul

    Saul Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi, How does you website look like? , add mer thiere and i can help you, :)
     
    Saul, Feb 7, 2008 IP
  9. arcel

    arcel Banned

    Messages:
    823
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    try putting solemn music... but not to solemn or your visitors might fell asleep.
     
    arcel, Feb 7, 2008 IP
  10. flash_pro_Dan

    flash_pro_Dan Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    alan_smithee is right, an iframe is your best option, but maybe to stop the page loading slowing you should incorporate a flash streaming mp3 player. This will be smooth as...I can assist you for a fee, pm if you are interested.
     
    flash_pro_Dan, Feb 7, 2008 IP