How to Add Music to Your Forum
1) Have a music file on your
own webspace, or a website that allows direct linking of music. Do NOT hot link to websites that do not say you can do so. Many internet service providers (ISP) provide free webspace for their customers. Check with your ISP.
Both midi files and mp3's will work, but this code is not recommended for mp3's.
Here are sites that have free legal midi files for download:
Only registered users can see links on this forum! Register or Login on forum! |
Only registered users can see links on this forum! Register or Login on forum! |
2) In a forum description box on your forum, put in the following code:
| Code: |
<EMBED SRC="http://sitewhereyourfileis/music/nameofsong.mid"
WIDTH=144 HEIGHT=60 AUTOSTART="false" LOOP="1" HIDDEN="false"> |
Replace the URL for the song listed in the code with your own song URL.
The above code will have a little console image show on your index page, with control buttons so users can start and stop the music as they want. That is the recommended way to have music on your forum, as some users may be put off by your music choice, or may be where they do not want there to be any noise (such as at work).
a) If you want the song to play more than one time in a row, increase the number after the word "LOOP". For example, if you want that same song to play 5 times in a row, you would put a 5 instead of the 1. Don't forget those quotation marks around the number. It would then be
b) If you want the song to automatically start playing when your forum page is accessed, change the AUTOSTART to the word "true". It would than look like this:
c) If you change the HIDDEN="false" to HIDDEN="true", the little consol will not show and users cannot stop or start the music as they desire.
3) If you want a link that people click on to then hear music play on their own computers, put the following code in a forum description box:
| Code: |
| <A HREF="http://sitewhereyourfileis/nameofsong.mid">"Name of Song"</A> |
A code with an MP3:
| Code: |
| <A HREF="http://wvcats.com/music/Cynthia_Jordan-A_Mothers_Heart.mp3">"A Mother's Heart"</A> |
Change the URL of the song listed to the URL of your song choice. Change the words in quotation marks to say what you want them to say. Again, do NOT hot link to another website unless that website owner said you can. Download the songs of your choice, then upload them to your own webspace and link to them from there.
Written by Margaret/gg'ssimon