|
-
Dec 12th, 2005, 10:38 PM
#1
Thread Starter
PowerPoster
Embed MP3
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.
HTML 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/stocksco...ursemodule.asp
-
Dec 12th, 2005, 10:46 PM
#2
Re: Embed MP3
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.
-
Dec 12th, 2005, 11:19 PM
#3
Thread Starter
PowerPoster
Re: Embed MP3
The page doesn't load in Mozilla either......dodgy microsoft!
-
Dec 15th, 2005, 06:17 PM
#4
Re: Embed MP3
 Originally Posted by lintz
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.
HTML 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/stocksco...ursemodule.asp
You can't. The first time, the prompt has to appear, else the MP3 won't play.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|