473,225 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Embedded Media Player

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
6 5670
xhunter
42
any commnets????? :(
Oct 12 '07 #2
drhowarddrfine
7,435 Expert 4TB
any commnets????? :(
You're ugly.......and I don't have an answer either. ;)
Oct 12 '07 #3
Markus
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">
<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
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

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

Similar topics

1
by: Anise | last post by:
I have a question concerning embedding a windows media player into a web application in .net.. I download Windows Media Player 10 and its SDK On the .ascx page I placed a windows media player...
1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
20
by: igarrison | last post by:
I have an APP that reads from a file on disk and decrypts the raw data into the memory stream that then gets passed to the client. This works great for any text or image files, but I can't seem to...
2
by: codepuller | last post by:
I have a embedded media player into an ASP.NET web page and it all works except for the first time the page loads, when the user clicks on the play button, the player acts like it is going to play...
1
by: Ollie Riches | last post by:
I have managed to host an embedded media player in an aspx page and play content. How can I get the media player to start playing to the content before it has completely downloaded? Cheers ...
2
by: gsauns | last post by:
I have a Windows Media Player control embedded in my page. This is the code I use to get it to play: function setPlayerURL() { player = document.getElementById("wmpWindow"); myURL =...
1
by: DILA | last post by:
Hi, I have included an embedded Real Player and an embedded Quick Time Player for streaming videos, in my web pages. I'm interested in searching for a method or a script to disable the...
3
by: homec | last post by:
Hi, I have included an embedded Real Player and an embedded Quick Time Player for streaming videos, in my web pages. I'm interested in searching for a method or a script to disable the ...
3
by: hurricane_number_one | last post by:
I want to be able to play/pause/next/back the tracks in whatever media player app is running. So if iTunes is running, it will receive those commands, if Windows Media Player is, it will receive...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.