icon kid
29 Sep 2005, 08:29 PM
I'm trying to embed Windows Media Player into a Web page but the animation doesn't stream properly when I use embed code. It streams very well from a direct link to the animation file. Here's the link to a test page where I have WMP embedded:
http://www.jeffs-icons.net/Media/test-in-1ASF.html
The animation is extremely choppy.
Here's the embed code on this test page:
<!-- BEGIN GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName" VALUE="http://www.jeffs-icons.net/Media/SkellyAnim-2-320.asf">
<PARAM NAME="animationatStart" VALUE="false">
<PARAM NAME="transparentatStart" VALUE="false">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="clickToPlay" VALUE="true">
</OBJECT>
<!-- END GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
Here's a direct link to the animation which buffers for a few seconds but runs smoothly from beginning to end once it starts playing (91 seconds):
http://www.jeffs-icons.net/Media/SkellyAnim-2-320.asf
Even though the direct link streams the animation properly, it has its own problem because, on some systems, it causes a prompt to appear -- it tells you that the latest version of WMP (version 10) should be downloaded and installed. From a direct link I don't think there's any way to order a user's system to pre-cancel the prompt and just use whatever version of WMP that's already installed so it looks like I have to find the reason why it doesn't stream from an embed. Any ideas?
http://www.jeffs-icons.net/Media/test-in-1ASF.html
The animation is extremely choppy.
Here's the embed code on this test page:
<!-- BEGIN GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName" VALUE="http://www.jeffs-icons.net/Media/SkellyAnim-2-320.asf">
<PARAM NAME="animationatStart" VALUE="false">
<PARAM NAME="transparentatStart" VALUE="false">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="clickToPlay" VALUE="true">
</OBJECT>
<!-- END GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
Here's a direct link to the animation which buffers for a few seconds but runs smoothly from beginning to end once it starts playing (91 seconds):
http://www.jeffs-icons.net/Media/SkellyAnim-2-320.asf
Even though the direct link streams the animation properly, it has its own problem because, on some systems, it causes a prompt to appear -- it tells you that the latest version of WMP (version 10) should be downloaded and installed. From a direct link I don't think there's any way to order a user's system to pre-cancel the prompt and just use whatever version of WMP that's already installed so it looks like I have to find the reason why it doesn't stream from an embed. Any ideas?