Click to See Complete Forum and Search --> : Embeded Windows Media in Netscape 7.0 not working


Gazthrak
06-02-2005, 03:56 PM
OK, I have embeded a video into a page, and it works beautifully on all other browsers. However, when I got to testing on Netscape 7, it decided not to play and say the source filter could not load. I'll give the code for deliberation:

Response.write "<object CLASSID = 'CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' HEIGHT='300' WIDTH='320' ID = 'Video' TYPE = 'application/x-oleobject' STANDBY = 'Loading Microsoft Windows Media Player components...' HSPACE = '0' VSPACE = '0'>"
Response.write "<param NAME = 'url' "
Response.write "VALUE = '"
Response.write metafilePath & ".asx'>"
Response.write "<param name = 'AutoStart' value = '1'>"
Response.write "<param name = 'ShowDisplay' value = '0'>"
Response.write "<param name = 'ShowPositionControls' value = '0'>"
Response.write "<param name = 'ShowStatusBar' value = '1'>"
Response.write "<embed type = 'application/x-mplayer2' pluginspage = 'http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/' Name = 'Video' "
Response.write "src = '"
Response.write metafilePath & ".asx'"
Response.write "HEIGHT='300' WIDTH='320' ShowPositionControls = '0' ShowDisplay = '0' ShowStatusBar = '1' AutoStart = '1'>"
Response.write "</object>"

metafilePath = ../../live_meta/test_1_live

Yes this was written in ASP and i am too busy to bother removing all the responses.

I have gotten this to work with VERY absolute paths, but i would rather not use this. I just want to know if anyone has ever heard of this. Thank you

Rich

Gazthrak
06-02-2005, 04:00 PM
I am also trying to work synchronized slide into this (SofTV 3.1) but again, 7.0 is giving me a problem. Anyone ever work with this, or even better, programmed for it?

Maybe i could just simply post the code associated with the monitering and synching with the video and ask for help deciphering it.

Frets
06-08-2005, 04:04 PM
Unfortunately win media is proprietary Only older coded and older object embeds will run in mozilla flavored browsers even then with extremely limited functionality.

goofball
06-30-2005, 12:16 PM
I am using Netscape 7.1 & Mozilla Firefox 1.0
and I am getting Windows Media files to play sucessfully like so:
<object
id="movie" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
codebase=
"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
width=320 height=240
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject" name="movie">
<param name="FileName" value="path/to/file.wmv">
<param name="AutoStart" value="true">
<param name="ShowControls" value="false">
<param name="autoSize" value="false">
<param name="displaySize" value="0">
<embed type="application/x-mplayer2" width="320" height="240"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
filename="path/to/file.wmv"
autostart="true"
showcontrols="false"
autosize="false" displaysize="0"
src="path/to/file.wmv" name="movie"
> </embed>
</object>

Note that I'm using a .wmv file, and not an .asx.
I haven't tried using the .asx, so I don't know whether or not that would present any problems.
Also note that FireFox seems to ignore the tag: <param name="ShowControls" value="false">
and displays the controlls anyway.

Hope this helps!
.