PDA

Click to See Complete Forum and Search --> : Embed MP3


lintz
Dec 12th, 2005, 09:38 PM
When I use the below to embed a mp3 on my site, the Informatin Bar in IE comes up saying activex content ....blah, blah .... and the user must accept to view the activex content.

How can I embed my mp3 without the information bar showing and the user accepting to view the activex content?

This is my current code.
<OBJECT

ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/%20%20%20%20nsmp2inf.cab#Version=5,1,52,701"

STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">

<PARAM NAME="fileName" VALUE="test.mp3">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true"
><PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">

</OBJECT>

I noticed this site also embeds a mp3 but the information bar does not appear?
http://www.elliottician.com/stockscourse/bonusecccoursemodule.asp

dglienna
Dec 12th, 2005, 09:46 PM
It doesn't load in FX, but I see that he is using FTP to download the file.
In fact, it generated an illigal operation, which I ignored.

lintz
Dec 12th, 2005, 10:19 PM
The page doesn't load in Mozilla either......dodgy microsoft! :mad:

mendhak
Dec 15th, 2005, 05:17 PM
When I use the below to embed a mp3 on my site, the Informatin Bar in IE comes up saying activex content ....blah, blah .... and the user must accept to view the activex content.

How can I embed my mp3 without the information bar showing and the user accepting to view the activex content?

This is my current code.
<OBJECT

ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/%20%20%20%20nsmp2inf.cab#Version=5,1,52,701"

STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">

<PARAM NAME="fileName" VALUE="test.mp3">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true"
><PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">

</OBJECT>

I noticed this site also embeds a mp3 but the information bar does not appear?
http://www.elliottician.com/stockscourse/bonusecccoursemodule.asp
You can't. The first time, the prompt has to appear, else the MP3 won't play.