Post by CFP wolf on Sept 29, 2009 4:07:48 GMT -5
Have only one music file? Then use this code:
<center>
<embed src="URL OF MUSIC FILE" autoplay="false" hidden="false" width="140" height="70" />
</center>
This centers the music player on the page. If you hide the music player, you don't need this (but it won't hurt).
Put the URL of the music (*.mp3, *.mid, *.wav) here. It should be a URL on the Internet, this means it starts with http:// . You can't put a path on your computer here. You need to upload the music to the Internet, and for that I suggest Ripway or ZUpload. Ripway has a very small bandwidth limit, so if your music isn't working, visit the URL and make sure you haven't used it up. ZUpload has no bandwidth limits but the file downloads are a bit slower. You may want to find a MIDI version of the song you want. These files are much smaller and you don't have to worry about copyright violation. If you're going to use an mp3 that's longer than 30 seconds you must make sure you have permission to use it!
Setting this at "true" means the music will play automatically when the page loads. I recommend keeping this at "false" because not everyone will want to listen to the music, and those with slow connections may have problems downloading it. The page will tend to freeze up a little while the file is downloading. If you do set this to "false" make sure you set hidden to "false" as well or the music won't be playable!
If this is "true" then the music controls (play, pause, volume, etc.) will not appear.
The width and height of the music controls. You can remove these if you've set hidden to "true". Otherwise it would be best to leave them at these values give or take a few dozen.
The code should be placed in your Headers and Footers. Where exactly depends. If you've set hidden to "true", put it in your header. If hidden is "false", put it where you want the controls to show up. If you want it on the main page, put it in the main headers/footers. If you want it on all pages, put it in the global headers/footers. If you want it in certain boards, put it in those boards' headers/footers.
If you want more than one music file, use this:
Horizontal
<!-- Cali's Music Center -->
<table cellspacing="4" cellpadding="4" border="4" style="border-color: FFFFFF">
<tr>
<td border="3">
<embed src="URL OF SONG FILE 1" height="45" width="170" autoplay="false" />
</td>
<td border="3">
<embed src="URL OF SONG FILE 2" height="45" width="170" autoplay="false" />
</td>
<td border="3">
<embed src="URL OF SONG FILE 3" height="45" width="170" autoplay="false" />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 1</i></b>
</td>
<td height="25" align="center">
<b><i>NAME OF SONG 2</i></b>
</td>
<td height="25" align="center">
<b><i>NAME OF SONG 3</i></b>
</td>
</tr>
</table>
<!-- End Music Center -->
Or this:
Vertical
<!-- Cali's Music Center -->
<table cellspacing="4" cellpadding="4" border="4" style="border-color: FFFFFF">
<tr>
<td border=3>
<embed src="URL OF SONG FILE 1" height=45 width=170 autoplay=false />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 1</i></b>
</td>
</tr>
<tr>
<td border="3">
<embed src="URL OF SONG FILE 2" height="45" width="170" autoplay="false" />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 2</i></b>
</td>
</tr>
<tr>
<td border="3">
<embed src="URL OF SONG FILE 3" height="45" width="170" autoplay="false" />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 3</i></b>
</td>
</tr>
</table>
<!-- End Music Center -->
In the code, edit the ALL CAPS parts. You can use any type of audio including MIDI, mp3, WAV, etc. Just make sure you aren't hotlinking and you have permission to use the music that you are using!
If you want more than three, copy and paste more of these:
<tr>
<td border=3>
<embed src="URL OF SONG FILE X" height=45 width=170 autoplay=false />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG X</i></b>
</td>
</tr>
and add it after the others for the vertical, and for the horizontal, add one of these:
<td border="3">
<embed src="URL OF SONG FILE 1" height="45" width="170" autoplay="false" />
</td>
between the first set of <tr> tags, and one more of these:
<td height="25" align="center">
<b><i>NAME OF SONG 3</i></b>
</td>
between the second. To have only two, remove one of each. Place the code in headers or footers, wherever you want it to appear.
<center>
<embed src="URL OF MUSIC FILE" autoplay="false" hidden="false" width="140" height="70" />
</center>
This centers the music player on the page. If you hide the music player, you don't need this (but it won't hurt).
Put the URL of the music (*.mp3, *.mid, *.wav) here. It should be a URL on the Internet, this means it starts with http:// . You can't put a path on your computer here. You need to upload the music to the Internet, and for that I suggest Ripway or ZUpload. Ripway has a very small bandwidth limit, so if your music isn't working, visit the URL and make sure you haven't used it up. ZUpload has no bandwidth limits but the file downloads are a bit slower. You may want to find a MIDI version of the song you want. These files are much smaller and you don't have to worry about copyright violation. If you're going to use an mp3 that's longer than 30 seconds you must make sure you have permission to use it!
Setting this at "true" means the music will play automatically when the page loads. I recommend keeping this at "false" because not everyone will want to listen to the music, and those with slow connections may have problems downloading it. The page will tend to freeze up a little while the file is downloading. If you do set this to "false" make sure you set hidden to "false" as well or the music won't be playable!
If this is "true" then the music controls (play, pause, volume, etc.) will not appear.
The width and height of the music controls. You can remove these if you've set hidden to "true". Otherwise it would be best to leave them at these values give or take a few dozen.
The code should be placed in your Headers and Footers. Where exactly depends. If you've set hidden to "true", put it in your header. If hidden is "false", put it where you want the controls to show up. If you want it on the main page, put it in the main headers/footers. If you want it on all pages, put it in the global headers/footers. If you want it in certain boards, put it in those boards' headers/footers.
If you want more than one music file, use this:
Horizontal
<!-- Cali's Music Center -->
<table cellspacing="4" cellpadding="4" border="4" style="border-color: FFFFFF">
<tr>
<td border="3">
<embed src="URL OF SONG FILE 1" height="45" width="170" autoplay="false" />
</td>
<td border="3">
<embed src="URL OF SONG FILE 2" height="45" width="170" autoplay="false" />
</td>
<td border="3">
<embed src="URL OF SONG FILE 3" height="45" width="170" autoplay="false" />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 1</i></b>
</td>
<td height="25" align="center">
<b><i>NAME OF SONG 2</i></b>
</td>
<td height="25" align="center">
<b><i>NAME OF SONG 3</i></b>
</td>
</tr>
</table>
<!-- End Music Center -->
Or this:
Vertical
<!-- Cali's Music Center -->
<table cellspacing="4" cellpadding="4" border="4" style="border-color: FFFFFF">
<tr>
<td border=3>
<embed src="URL OF SONG FILE 1" height=45 width=170 autoplay=false />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 1</i></b>
</td>
</tr>
<tr>
<td border="3">
<embed src="URL OF SONG FILE 2" height="45" width="170" autoplay="false" />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 2</i></b>
</td>
</tr>
<tr>
<td border="3">
<embed src="URL OF SONG FILE 3" height="45" width="170" autoplay="false" />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG 3</i></b>
</td>
</tr>
</table>
<!-- End Music Center -->
In the code, edit the ALL CAPS parts. You can use any type of audio including MIDI, mp3, WAV, etc. Just make sure you aren't hotlinking and you have permission to use the music that you are using!
If you want more than three, copy and paste more of these:
<tr>
<td border=3>
<embed src="URL OF SONG FILE X" height=45 width=170 autoplay=false />
</td>
</tr>
<tr>
<td height="25" align="center">
<b><i>NAME OF SONG X</i></b>
</td>
</tr>
and add it after the others for the vertical, and for the horizontal, add one of these:
<td border="3">
<embed src="URL OF SONG FILE 1" height="45" width="170" autoplay="false" />
</td>
between the first set of <tr> tags, and one more of these:
<td height="25" align="center">
<b><i>NAME OF SONG 3</i></b>
</td>
between the second. To have only two, remove one of each. Place the code in headers or footers, wherever you want it to appear.