Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Location
    NYC
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how do u put a song from ur comp on ur site?????

    how do u put a song from ur comp on ur site?????
    can u?


    if it can or someone knows....can u tell me plz...or give me the codes for it.....PLZ.......THX

  • #2
    New Coder
    Join Date
    Jun 2002
    Location
    England
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    One way to do it is...

    <BGSound Src="song.ext" Loop="-1">

    Obviously replacing 'song.ext' with your file and extension.

    That particular loop value makes the song loop forever, I'm not sure what the other values do, I suppose '0' would simply be no loop... but just play with it to get what you want.

    If instead you'd like the viewer to be able to play/stop or whatever the sound themselves, then...

    <embed src="song.ext" autoplay="false" controller="true">

    Would be your answer. Hope that helps.

    Peace \/
    `Sp00kY`

  • #3
    New to the CF scene
    Join Date
    Jun 2002
    Location
    NYC
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thx alot pal.....hmm...how do u keep repeat the song over and over again?

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in
    loop="-1"
    the -1 means forever
    photoshop too expensive? use the GIMP! www.gimp.org

  • #5
    New to the CF scene
    Join Date
    Jun 2002
    Location
    NYC
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    umm.....i dont have the song wit .ext....and i wanna put a mp3 song on the site....can u guys tell me how?

  • #6
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,266
    Thanks
    6
    Thanked 48 Times in 48 Posts
    As sp00ky said:

    <BGSound Src="song.ext" Loop="-1">


    replace the song.ext to song.mp3

  • #7
    New to the CF scene
    Join Date
    Jun 2002
    Location
    NYC
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thx nightfire....one more thing....for the song.mp3...wat r u gonna put for it...cuz i dont really get it

  • #8
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,266
    Thanks
    6
    Thanked 48 Times in 48 Posts
    replace it with the name of the mp3. So if your mp3 is called nursery rhymes volume 1.mp3, then change song.ext to

    <BGSound Src="nursery rhymes volume 1.mp3" Loop="-1">

  • #9
    New to the CF scene
    Join Date
    Jun 2002
    Location
    NYC
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thx

  • #10
    New Coder
    Join Date
    Jun 2002
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Question:

    Will activating a mp3 file open up a mp3 player, or will it just play?

    Thought about doing it with an mp3, but figured i had to create a flash file to get the mp3 running without having winamp/WMP opening.

    Thanks!!
    dan

  • #11
    New to the CF scene
    Join Date
    Jun 2002
    Location
    NYC
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hmmm.....i cant seems to play the song from the computer...any suggestions?

  • #12
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    fearlesslife,

    where is your file located; on your own computer, or somewhere on a web server? You can't access a music file on your computer from a web site unless it is accessible as a server.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #13
    New to the CF scene
    Join Date
    Jun 2002
    Location
    NYC
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    on my computer....i want to put a song from my computer on the site....i heard u have to upload to song first then to the server?.

    HELP!

  • #14
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    574
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by fearlesslife
    on my computer....i want to put a song from my computer on the site....i heard u have to upload to song first then to the server?.

    HELP!
    Yes, you must upload the sound file to your hosting space first. Who are you using for a host? I assume you have upoaded pages to your hosting space already? You would upload the sound file in much the same way. To keep it simple, upload the sound file to the same directory as your pages are located in. Then when you specify the path to the sound file like so:

    <BGSound src="nursery rhymes volume 1.mp3"......>

    The path (src) will be correct with just the name and extension .
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"


  •  

    Posting Permissions

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