problem with WMP and firefox



Hello,

I included windows media player activex into my web page to watch mpg video file:
here is the code:

<OBJECT ID="Player"
type="application/x-ms-wmp"
url="http://<webserver>/<webapp>/getFile?<some_parameters>"
width=300 height=200>
<PARAM name="autostart" value="false"/>
</OBJECT>

I did my test with firefox 2.0
I installed WMP plugin for firefox from Port25
I also installed WMP 11
I used XP SP2

So, as you can see, in my URL, I don't try to watch directly mpg file by passing the filename, I call a 'servlet' (java). My servlet check if the sessionid from user's request is valid (user should be logged) and stream the data video in the server's response.
I remarked 2 issues in my case:
-When I click play button, there are 2 requests which are sended (user-agent:NSPlayer/11.0.5721.5145 WMFSDK/11.0).not 1. and I don't know why.
-In the second request, wmp create a new session cookie in http header,even if I add my sessionid in url.

Some people had the same problem:
http://groups.google.fr/group/microsoft.public.windowsmedia.player.web/browse_thread/thread/f97cc955351932eb/eb587335a74e88a7?hl=fr&lnk=st&q=NSPlayer+2+times#eb587335a74e88a7
http://groups.google.fr/group/microsoft.public.windowsmedia/browse_thread/thread/cd0d699502d27f35/db7c03f1e2b2ddb8?hl=fr&lnk=st&q=multiple+request+windows+media+player#db7c03f1e2b2ddb8

Is somebody could help me?

.


Loading