Put Music on Your Web Page

This is a method to put one or more songs on one's web page, which can be played one at a time by click, and which can be changed at will by the html page author.ccd

Steps

  1. Create a Music Folder for all your downloaded music somewhere such as in My Docs. Copy and paste music files into this Folder. Right Click/Open With/Some 'Media Player' to play the song. # Right Click on file/Open With/Choose Program/ to change your default media player. Highlight and check 'always use this program to open these files'.
  2. Create a Music Folder in your HTML Editor, say as the name of 'Songline', within the same Folder as on-line music presentation page. This simplifies addressing. Copy and paste a song say 'Example' from 'My Docs'/Music Folder. It will probably be listed as some kind of audio file, mp3, wma, wav or some other. Audio extension converters can be obtained on line, to convert wma or wav extensions to mp3 or vice versa, and others.
  3. Place HTML code: <A HREF="SongLine/SongFileName.m3u">Name of Song</a> on your web page. This address requires 'Folder Songline' to be in same Folder as web page. You can put up any number of above 'links' with corresponding song titles. But the extension must be '.m3u'.
  4. Create an 'MP3 Audio Play list File'. It is not an html file, so you can create it on your desktop and 'Save As' to your web page. Create a Notepad Desktop file and call it say MP3. On the very top line place the code: http://www.Domain.xxx/SongLine/NameOfSong.mp3. If it is a wma file, the address should be http://www.Domain.xxx/SongLine/NameOfSong.wma or other extension.
  5. Save. Then 'Save As'. On 'Save as Type'/'All Files'. On File Name/ type Name of Song.m3u (Must be m3u). Then Browse to HTML file folder 'SongLine', and 'Save As'. The extension of 'Saved As' must be m3u, but is not to be confused with the http:// address at top of page, which remains mp3, ama or whatever in all cases. You need both the song file and the 'Audio Play list File' for it all to work.
  6. Put the song online. In Transfer Protocol, transfer the Folder 'SongLine' to the server-side, in the same portal as the web presentation page. Both the song file and the 'MP3 Audio Play list File' must be transferred to the server-side 'Folder/Songline'. Transfer the html file presentation page displaying the song.
  7. To change songs, copy new song into Folder 'Songline'. Change name of song file and title on web page. You can use the same Notepad file to add new 'Audio Play list File'. Use the same address, single line at the top, and just change the name of the song title only as: http://www.Domain.xxx/SongLine/New NameOfSong.mp3 Save/Save As: as directed in Step 4, 'New Song Name.m3u' into html Folder Songline.
  8. To put a series of songs on web page, copy songs into html Folder SongLine. Create 'Audio Play list Files' one at a time and 'Save As' into SongLine Folder, as per Step 4. Place any number of <A HREF="SongLine/Example.m3u"> on your web page. Transfer whole affair to on-line server-side.

Warnings

  • Extensions such as mp3 or wma may be "case sensitive".

Related Articles