I'm new to this forum but I see that there are fairly recent posts from others having WMP woes. One common problem was "having WMP or IE suddenly shut down" while a page containing a WMP embed begins to load. I found that this doesn't happen when I use one of the proper file formats for streaming media (such as ASF or WMV). Now that I'm using ASF there are still more problems. My animations don't stream properly when I use embed code -- it's very choppy. The odd thing is that a video is still choppy even after the entire file is in the browser cache (when I go to play the video a second time). It streams very well from a direct link to the animation file, though. Here's the code I'm using:
Code:
<!-- 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.anysite.com/videofilename.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 -->
Even though the direct link streams the animation properly, this has its own drawback - 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. This is an annoyance in most cases being that the version already installed on most computers is adequate for playing a given video. I don't think there's a way to eliminate the prompts, so I'd really like to find the reason why my videos don't stream from an embed. Any ideas?