View Full Version : Music Help


bigheaven1993
04-10-2007, 12:34 AM
I'm creating a webpage for a band and they want me to post a couple of songs on there. This is part of the code I'm using, but only one song will show up. If you can give me instructions on how to make an MP# it would be mush better, but if not then please help me fix my code. Thanks in advance.

<div id="music">
<table>
<tr>
<td rowspan=4><img src="str84word.jpg"></td>
<td><b>Where You Belong</b><br>
<embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="http://www.myfilestash.com/userfiles/SevenD2/Where%20You%20Belong.wma" autostart="true" loop="true" width="300" height="50"> </embed> <noembed> <bgsound src="http://www.myfilestash.com/userfiles/SevenD2/Where%20You%20Belong.wma" loop="infinite"> </noembed</td>
</tr>
<tr>
<td><b>Corner Market</b><br>
<embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="http://www.myfilestash.com/userfiles/SevenD2/Corner%20Market.wma" autostart="true" loop="true" width="300" height="50"> </embed> <noembed> <bgsound src="http://www.myfilestash.com/userfiles/SevenD2/Corner%20Market.wma" loop="infinite"> </noembed</td>
</tr>
<tr>
<td><b>Baby</b><br>
<embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="http://www.myfilestash.com/userfiles/SevenD2/Baby.wma" autostart="true" loop="true" width="300" height="50"> </embed> <noembed> <bgsound src="http://www.myfilestash.com/userfiles/SevenD2/Baby.wma" loop="infinite"> </noembed</td>
</tr>
<td><b>All That I Have</b><br>
<embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" enableHREF="false" saveEmbedTags="true" src="http://www.myfilestash.com/userfiles/SevenD2/All%20That%20I%20Have.wma" autostart="true" loop="true" width="300" height="50"> </embed> <noembed> <bgsound src="http://www.myfilestash.com/userfiles/SevenD2/All%20That%20I%20Have.wma" loop="infinite"> </noembed</td>
</tr>
</table>
</div>

Ges
04-10-2007, 01:29 PM
Hi bigheaven1993,
There are a few issues with the code. The first one is only minor. You are missing a <tr> tag just before the line;
<td><b>All That I Have</b><br>

Also, it's not good to have many players on one page with autostart set to 'true' etc.
Please take a look at the player in Lissa's fun pages;

http://www.lissaexplains.com/mp3player.shtml

I think that would be a better option as the band can then easily have as many songs as they like.

Hope this helps,
Regards,
Ges.