471,337 Members | 1,002 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Embedded Media Player

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"

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


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
6 5490
any commnets????? :(
Oct 12 '07 #2
7,435 Expert 4TB
any commnets????? :(
You're ugly.......and I don't have an answer either. ;)
Oct 12 '07 #3
6,050 Expert 4TB
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
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">
<OBJECT id='mediaPlayer' width="720" height="450"
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'
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">
<!-- ...end embedded WindowsMedia file -->
Jun 21 '09 #5
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
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.

Similar topics

2 posts views Thread by codepuller | last post: by
1 post views Thread by Ollie Riches | last post: by
2 posts views Thread by gsauns | last post: by
3 posts views Thread by hurricane_number_one | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.