fatguinea
06-07-2007, 02:23 PM
On a page on my website, http://hardcorekingdom.freehostia.com/artists/index.html, I have a link that is called "Trip II the Moon". When one clicks on this link it opens a smaller window that contains a small html page that has the object code for embeding the sound file tripIIthemoon.mp3. The sound does not seem to play, for me anyways, but it does work with shorter sound files that i have tried. I'm pretty sure the code is right, so can some one help me with this problem of no sound.
The code of the smaller page is as follows:
<html>
<head>
<title>Trip II the Moon</title>
</head>
<body bgcolor="black"><center>
<object id="MediaPlayer" width="200" height="46" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="http://hardcorekingdom.freehostia.com/sounds/tripIIthemoon.mp3">
<param name="Showcontrols" value="True">
<param name="autoStart" value="false">
<embed type="application/x-mplayer2" src="http://hardcorekingdom.freehostia.com/sounds/tripIIthemoon.mp3" name="MediaPlayer"></embed>
</object>
</center>
</body>
</html>
The code of the smaller page is as follows:
<html>
<head>
<title>Trip II the Moon</title>
</head>
<body bgcolor="black"><center>
<object id="MediaPlayer" width="200" height="46" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="http://hardcorekingdom.freehostia.com/sounds/tripIIthemoon.mp3">
<param name="Showcontrols" value="True">
<param name="autoStart" value="false">
<embed type="application/x-mplayer2" src="http://hardcorekingdom.freehostia.com/sounds/tripIIthemoon.mp3" name="MediaPlayer"></embed>
</object>
</center>
</body>
</html>