By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,991 Members | 1,737 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,991 IT Pros & Developers. It's quick & easy.

Embedded Media Player

P: 42
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.
Oct 11 '07 #1
Share this Question
Share on Google+
6 Replies


P: 42
any commnets????? :(
Oct 12 '07 #2

drhowarddrfine
Expert 5K+
P: 7,435
any commnets????? :(
You're ugly.......and I don't have an answer either. ;)
Oct 12 '07 #3

Markus
Expert 5K+
P: 6,050
You're ugly.......and I don't have an answer either. ;)

Burnnnn haha.

And to the OP, don't be so pushy.

Ask the same question on a bunch of different DEV sites.

you wont get an answer immediately man.
Oct 13 '07 #4

P: 3
I have a Windows Media Player embedded and it plays a video file fine. What I would like to do is show only the "Title" or other text, and not have the Windows Media Player show until the 'title' is clicked on.
Here is the HTML I am using; so what should I change? Thanks for any answer.

<table border='0' cellpadding='0' align="center"><font size="8">Red Blanchard Says Hello!

<!-- begin embedded WindowsMedia file... -->
<table border='0' cellpadding='0' align="center">
<tr><td>
<OBJECT id='mediaPlayer' width="720" height="450"
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="webhello.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='false'>
<param name='autoStart' value="false">
<param name='showControls' value="true">
<param name='loop' value="false">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="720" height="450"
src="webhello.wmv" autostart="false" designtimesp='5311' loop="false">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded WindowsMedia file -->
Jun 21 '09 #5

P: 3
I forgot to add that I would not want to use the "transparent" option, because then you get a big blank spot until you turn on the player.
Jun 21 '09 #6

P: 3
Here I am again, and this time I learned about a "redirect" link, in the form of a "WVX" file, so I made one and had it point to my embedded video, but it woudnt work, but gave me this error message:
"The playlist cannot be opened because it is stored in a shared folder on another computer.
If possible, move the playlist to the playlists folder on your computer."
Anybody got any ideas, now? Thanks for listening
Jun 25 '09 #7

Post your reply

Sign in to post your reply or Sign up for a free account.