After searching around tek-tips and the web a little, I found dwarfthrower's post helpful, but I am trying to modify it to no avail.
I want to display the player with the stop and start buttons. Something like one of the examples below would be fine:
or
Any help would be greatly appreciated.
Thanks,
John
Code:
<HEAD>
<script>
function playSound(sndsrc){
document.getElementById('thesound').src = sndsrc;
}
</script>
<HEAD>
<H3><FONT FACE="Arial">Select a song from the list below.</H3>
<bgsound id="thesound" src="#" loop=1>
<select name="soundlist" onChange="playSound(this.options[selectedIndex].value)">
<option value="../../ColdplayYellow.mp3">Cold Play - Yellow</option>
<option value="../../DMBwherearegoing.mp3">Dave Mathews Band</option>
<option value="../../TheWhoMagicBus.mp3">The Who - Magic Bus</option>
<option value="../../ZeppelinFoolinRain.mp3">Led Zeppelin - Foolin Rain</option>
</select>
I want to display the player with the stop and start buttons. Something like one of the examples below would be fine:
Code:
<p><table cellpadding=0 cellspacing=0 style="border:2px solid black;"><tr><td>
<EMBED src="test.wav" CONTROLLER=true autostart=false loop=false volume=100 hidden=false width=150 height=70></td></tr></table>
or
Code:
<EMBED SRC="test2.mp3" WIDTH=300 HEIGHT=80 NOJAVA=true CONTROLS=All center=true CONSOLE=one>
Any help would be greatly appreciated.
Thanks,
John