|
I have this problem on my website and no matter what I have not been able to get over it,
it is really getting on my nervers.
it's a problem that only exists in non IE browsers.
the frame work of my website is php and lets say here is how the player is shown with very simple syntaxes:
[HTML]<OBJECT id="VIDEO" width="'.$x.'" height="'.($y+60).'" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
<param name="AutoStart" value="true">
<param name="uiMode" value="full">
<param name="URL" value="'.$src.'">
<embed type="application/x-mplayer2"
src="'.$src.'"
id="Player"
name="Player"
width="'.$x.'"
height="'.($y+60).'"
AutoStart="true"></embed>
</OBJECT>
[/HTML]
where $x and $y are the dimentions of the video being played,
and the $src is the video file,
now the problem is....,
the video files is being streamed through a php which checks the user session being logged in or not (through cookies / sessions), something like
videofile.php?fileid=xx
Now this works perfect in Internet Explorer, if the user is logged in , the movie starts playing,
But in non IE browser, eg FireFox, if the user is logged in and opened the file directly in the browser, everything is fine and the user is authenticated and download starts,
but if the embedded media player requests the file, it fails, it's like even though it is embedded inside FireFox, media player is still looking into sessions and cookies from Internet explorer, because the video starts playing in firefox when I also log in in Internet Explorer.
I have not been able to tell Embedded Windows Media Player in firefox to check the logged in status in firefox,
If somebody knows how I can fix this I really appreciate this, as I can't afford to not to stream my files through php and just put the direct links for the src.
|