+ Reply to Thread
Results 1 to 7 of 7

Thread: how to have background music in the site?

  1. #1
    sssblueb is offline x10Hosting Member sssblueb is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    2

    how to have background music in the site?

    what is the coding for background music and do need the copyright for uploading the music file?

  2. #2
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: how to have background music in the site?

    Moved to site management...

  3. #3
    Starshine's Avatar
    Starshine is offline Legend Killer Starshine is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    U.S.A.
    Posts
    7,211

    Re: how to have background music in the site?

    I am not sure of the coding, but to answer your second question. Yes.
    You have to have permission from the artist, or copyright holder to host or play music on x10.
    ( Please review the x10 TOS )

  4. #4
    Mooseman is offline x10Hosting Member Mooseman is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    90

    Re: how to have background music in the site?

    In your HTML index file, add like this whereever you want, but at the end is best :

    <embed style="width:1px;height:1px;" autostart="true" loop="true" src="URL-TO-MUSIC-FILE"></embed>

    Just replace URL-TO-MUSIC-FILE with a real url.
    It can be any kind of musicfile you like, be it .mp3, .mid, .wav....whatever
    Autostart and loop can also be set to false. Loop means it plays over and over again.
    If you set autostart to be "false", you need to set the width and height to like 180px and 100px.
    This way ppl can see the panel on the player and start it whenever they want
    You can also set the height and width to whatever you like.

    I have 1px in both, because I dont want the player to be seen.


    Hope this helps ;)
    :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger

  5. #5
    leed88 is offline x10Hosting Member leed88 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Aroostook (The County) Maine USA
    Posts
    4

    Re: how to have background music in the site?

    @mooseman thanks for that post. would you now how to code button for turning off the sound if user wanted?

  6. #6
    Mooseman is offline x10Hosting Member Mooseman is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    90

    Re: how to have background music in the site?

    If you use HEIGHT=60 WIDTH=144 you will get a simple control panel on the player itself where they can pause/start the music
    :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger:thefinger:thefinger:thefinger:thefinger :thefinger

  7. #7
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: how to have background music in the site?

    Alternatively you could embed the sound file in a flash movie This has the added advantage of them NOT being able to easily download your music

+ Reply to Thread

Similar Threads

  1. New Site!
    By Corey in forum News and Announcements
    Replies: 76
    Last Post: 03-24-2006, 04:13 PM
  2. Suspended site?
    By cuzunsproductions in forum Free Hosting
    Replies: 0
    Last Post: 09-20-2005, 11:10 AM
  3. My Site
    By Lukasz in forum Graphics & Webdesign
    Replies: 6
    Last Post: 09-09-2005, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers