Click to See Complete Forum and Search --> : Sound object


Coruba67
06-16-2009, 06:33 PM
Hi guys

Am playing a sound on my page, in firefox it works brilliantly, however in IE, it is showing me a windows media player instance, how do I hide that? I have tried the following (and combinations of) and none of them are working... I don't actually want to see the media player at all..

echo "<object data=\"../sounds/$sound_name\" type=\"audio/mp3\">";
echo "<param name=\"autostart\" value=\"true\">";
echo "<param name=\"width\" value=\"0\">";
echo "<param name=\"height\" value=\"0\">";
echo "<param name=\"hidden\" value=\"true\">";
echo "</object>";

Thanks for any help in advance!