Firefox wont play stream (asf) via embedded Windows Media Player

maxpower1119

Limp Gawd
Joined
Jun 4, 2004
Messages
151
I am using VLC to stream to a webpage with Windows Media Player embedded. The file is WMV with mp3 audio in asf format. It works fine in IE, but Firefox just shows a media player, then it disappears.

Code:
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://test.org:6000">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="true">
<PARAM name="ShowDisplay" VALUE="true">
<EMBED TYPE="application/x-mplayer2" SRC="http://test.org:6000" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="1" autostart="1"> </EMBED>
</OBJECT>

If I change the
Code:
<EMBED TYPE="application/x-mplayer2" SRC="http://test.org:6000" NAME="MediaPlayer"

to a WMV file stored on the server it works fine. Any ideas? Thanks.
 

Shadow2531

[H]ard|Gawd
Joined
Jun 13, 2003
Messages
1,670
Do you have the server set to send asf files as video/x-ms-asf?

Did you try type="video/x-ms-asf" for the embed instead?
 

maxpower1119

Limp Gawd
Joined
Jun 4, 2004
Messages
151
I am setting VLC to output an ASF stream. I tried your suggestion and it did not work. It resulted in the same thing.
 

Shadow2531

[H]ard|Gawd
Joined
Jun 13, 2003
Messages
1,670
I set VLC to stream both an mp3 and then a wmv both in asf format.

I used this markup:

Code:
<embed type="video/x-ms-asf" src="http://127.0.0.1:8080" width="300" height="300">

and I was able to listen to the mp3 and watch the video from Firefox using the Windows Media Player plugin.

Are you using the new npruntime WMP plugin, or are you using the old netscape-compatible one? I'm using the old one at the moment.
 
Top