473,732 Members | 2,219 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embedded Media Player

42 New Member
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+6 0).'" CLASSID="CLSID: 6BF52A52-394A-11d3-B153-00C04F79FAA6" type="applicati on/x-oleobject">
<param name="AutoStart " value="true">
<param name="uiMode" value="full">
<param name="URL" value="'.$src.' ">
<embed type="applicati on/x-mplayer2"
src="'.$src.'"
id="Player"
name="Player"
width="'.$x.'"
height="'.($y+6 0).'"
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?f ileid=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 5692
xhunter
42 New Member
any commnets????? :(
Oct 12 '07 #2
drhowarddrfine
7,435 Recognized Expert Expert
any commnets????? :(
You're ugly.......and I don't have an answer either. ;)
Oct 12 '07 #3
Markus
6,050 Recognized Expert Expert
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
redblanchard
3 New Member
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.microso ft.com/activex/controls/mplayer/en/nsmp2inf.cab#Ve rsion=5,1,52,70 1'
standby='Loadin g Microsoft Windows Media Player components...' type='applicati on/x-oleobject'>
<param name='fileName' value="webhello .wmv">
<param name='animation atStart' value='true'>
<param name='transpare ntatStart' value='false'>
<param name='autoStart ' value="false">
<param name='showContr ols' value="true">
<param name='loop' value="false">
<EMBED type='applicati on/x-mplayer2'
pluginspage='ht tp://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer ' name='mediaPlay er' displaysize='4' autosize='-1'
bgcolor='darkbl ue' showcontrols="t rue" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="720" height="450"
src="webhello.w mv" autostart="fals e" designtimesp='5 311' loop="false">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded WindowsMedia file -->
Jun 21 '09 #5
redblanchard
3 New Member
I forgot to add that I would not want to use the "transparen t" option, because then you get a big blank spot until you turn on the player.
Jun 21 '09 #6
redblanchard
3 New Member
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
8917
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 object from the toolbox and all the sites i read say when "Adding the Windows Media Player control from the Toolbox also adds references to two libraries created by Visual
1
7897
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 create a simple console application which will be able to find out what the values of a currently playing tack. I've downloaded the Windows Media player SDK which come with some IDL and
20
4609
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 get it working at all for PDF files. I checked the stream, and the decrypted data is written properly to the MemoryStream (I can dump the memory stream to disk in the APP and open it fine), but I can't even get the Acrobat activeX control to...
2
2864
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 and then it stops. When I refresh the page, it works fine. Not sure what to think here about this. Any ideas?
1
1285
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 Ollie Riches
2
1387
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 = document.getElementById("pathStore").getAttribute("value"); player.URL = myURL; alert(player.URL);
1
4544
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 right-click option in the embedded Real & Quick Time players, because I don't want the viewers to download the video but to view it while streaming.
3
2565
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 right-click option in the embedded Real & Quick Time players, because I don't want the viewers to download the video but to view it while streaming.
3
5691
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 those commands, and so on, just like my multimedia keyboard does. I can't find any way to do this. I have tried sending: System.Windows.Forms.Keys.MediaPlayPause, System.Windows.Forms.Keys.MediaPreviousTrack, ect. but it didn't do anything. Is...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8774
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9307
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9235
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9181
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.