How to Embed Music Onto Chat Homepages
- 1). Upload the music file to the website's server. This can be done by using the hosting panel for the website or via FTP. Use the method normally employed to access the server. Remember the path where the music file is stored.
- 2). Access the homepage HTML file for the chat website and open it in the web master's preferred editing program. Find an appropriate location in the code for the embedded music code to be inserted. The bottom of the page is usually a good location, as it is sure not to interfere with chat website's components.
- 3). Insert the following code into the HTML web page document:
"<embed src="http://www.YOURURL.com/music/musicfile.wav" autostart="true" loop="false" hidden="true">"
Replace "http://www.YOURURL.com/music/musicfile.wav" with the path of the music file on the server. Save the page and upload it to the server. - 4). Load the chat homepage in a web browser to test if the music file loads properly.
Source...