Mike Haig
Guest
|
Posted:
Fri Aug 20, 2004 9:02 pm Post subject:
Help! Embedded Windows Media Player opens externally! |
|
|
We use a lot of pages with Win Media Player embedded to show streamed
wmv files. On Mac OS9 they used to work fine. But now when I open them
in IE 5.2, Mac OSX with WMP 9, Win Media Player opens externally as
well as inside the page, so we have two players showing the stream.
This doesn't happen when I view the page in Safari. Can some clever
person shed any light on this? I notice other people have had the same
problem, but nobody's mentioned the solution!
Is there some change I could make to our embed code that would stop
this? Code below.. I've taken out the stream path.
Thanks
Gareth
----------------------------------------
<!-- Set ShowControls, ShowDisplay, ShowStatusBar to value 0 to not
display the corresponding thing under the video window -->
<!-- FOR MAC: OBJECT WIDTH=176 HEIGHT=214 -->
<OBJECT ID="player" width=236 height=274
CLASSID=CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95
CODEBASE="http://www.microsoft.com/ntserver/netshow/download/en/nsmp2inf.cab#Version=5,1,51,415"
standby="Loading Microsoft Media Player components..."
type="application/x-oleobject">
<PARAM NAME="AutoStart" VALUE="TRUE">
<PARAM NAME="FileName" VALUE="mms://<Video path here>.wmv">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="autoSize" VALUE="false">
<!-- FOR MAC: LEAVE OUT THE NEXT TWO PARAMETERS -->
<PARAM NAME="VideoBorderWidth" VALUE="30">
<!-- VideoBorderColor syntax is &Hbbggrr, bb=blue gg=green rr=red,
using 00-FF color ranges. For example, orange is &H00aaff. -->
<PARAM NAME="VideoBorderColor" VALUE="&Hffffff">
<!-- END LEAVE OUT BIT -->
<!-- FOR MAC: EMBED WIDTH=176 HEIGHT=214 AND LEAVE OUT THE LAST TWO
PARAMATERS VIDEOBORDERWIDTH AND VIDEOBORDERCOLOR -->
<EMBED
Type="video/x-ms-asf-plugin"
pluginspage="http://www.microsoft.com/windows/mediaplayer/download/default.asp"
src="mms://<Video path here>.wmv"
name="player"
AutoStart="1"
ShowControls="1"
ShowStatusBar="1"
width="236"
height="274"
autoSize="0"
VideoBorderWidth="30"
VideoBorderColor="&Hffffff">
</EMBED>
</OBJECT>
|
|