Web Analytics Made Easy -
StatCounter how do u put a song from ur comp on ur site????? - CodingForum

Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    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`

    Comment


    • #3
      thx alot pal.....hmm...how do u keep repeat the song over and over again?

      Comment


      • #4
        in
        loop="-1"
        the -1 means forever
        photoshop too expensive? use the GIMP! www.gimp.org

        Comment


        • #5
          umm.....i dont have the song wit .ext....and i wanna put a mp3 song on the site....can u guys tell me how?

          Comment


          • #6
            As sp00ky said:

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


            replace the song.ext to song.mp3

            Comment


            • #7
              thx nightfire....one more thing....for the song.mp3...wat r u gonna put for it...cuz i dont really get it

              Comment


              • #8
                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">

                Comment


                • #9
                  thx

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      hmmm.....i cant seems to play the song from the computer...any suggestions?

                      Comment


                      • #12
                        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

                        Comment


                        • #13
                          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!

                          Comment


                          • #14
                            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
                            CodingForum Moderator
                            "How did a fool and his money get together in the first place?"

                            Comment

                            Working...
                            X