How to Upload Songs From a Computer to a Web Page

How to Upload Songs From a Computer to a Web Page thumbnail
Upload songs to web page from computer.

When you upload songs from your computer to the web, your web browser may require a plug-in if it's in a MP3, RM or MOV format. You may link directly to the sound file from your web page or embed it and allow users to control how the song plays. Alternatively, you may play a song automatically and make it loop for a set number of times. You will need your web server's FTP settings to upload songs to the web page.

Instructions

  1. Creating the Code

    • 1

      Use a text editor of your choice to open the HTML file where the song will be linked or embedded.

    • 2

      Scroll to the <BODY> tag of your page and place your cursor where you want the link or embedded code to appear.

    • 3

      Use the following code to link to the song, then change the file name to that of your sound file:

      <a href="song-file-name.avi">Listen to Song</a>

    • 4

      Add the following HTML code to embed a sound file and modify the location, file name, dimensions, auto start, loop and hidden settings:

      <embed src="song-name.avi" width="100" height="40" autostart="false" loop="false" hidden="false"></embed>

    • 5

      Select "File" and "Save" from the toolbar and save the HTML file.

    Uploading the Files

    • 6

      Use an FTP program of your choice (e.g., WS_FTP, FileZilla, Cute FTP) to upload the song file from your computer to the web.

    • 7

      Type the FTP website address under the host text field, in the form: ftp://website-address.com.

    • 8

      Type your username and password in the appropriate fields, then click on the connection button to connect to the web server. The web server's folders and files will display on the right pane once the connection is made, while your local folders and files will display on the left.

    • 9

      Double click on the "public_html" or "www" folder on the web server if you're not in either folder. You'll need to place your files in this folder to display them on the Internet.

    • 10

      Select the sound file and HTML file you want to upload from the left pane. Then double click them to publish them to the Internet. Select "Yes" if you are prompted to replace the current HTML file on the web server.

Related Searches:

References

  • Photo Credit cd with music note image by Nataliya Galkina from Fotolia.com

Comments

You May Also Like

Related Ads

Featured