Hi all here's what im stuck on. i got the WMP embedded, and have it playing a random song at the get go. but once the song is done it keeps looping the same song in IE, but stops in FF. was wonding if there was a way to fix this, and add the loop funtion in my php so it plays all my songs, randomly and loops them.
*********PHP********
<?php
$url[0] = "http://www.example.com/music/example1.mp3";
$url[1] = "http://www.example.com/music/example2.mp3";
$url[2] = "http://www.example.com/music/example3.mp3";
$url[3] = "http://www.example.com/music/example4.mp3";
srand ((double)microtime()*1000000);
$randomnum = rand(0, count($url)-1);
header ("Location: $url[$randomnum]");
?>
*******************HTML***************
<OBJECT ID="embedded_player" height="45" width="180" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" VIEWASTEXT>
<PARAM name="FileName" value="http://example.com/music/example.php" />
<param name="AutoStart" value="True">
<param name="ShowStatusBar" value="False">
<param name="ShowPositionControls" value="0">
<param name="Loop" value="True">
<embed name="wmplayer" TYPE="application/x-mplayer2"
pluginspace="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"
FileName="http://example.com/music/example.php"
Width="180"
Height="45"
ShowPositionControls="0"
ShowStatusBar = "False"
Loop="True"
</embed>
</OBJECT>