PDA

View Full Version : Making security certificates pop up on top?


celebritymusic
07-11-2004, 04:28 PM
Hi

I have a website that opens out to a full page. It does this to fit everything onto one page so the user doesn't have to scroll - it has a close window option so the user can get out at any time.

The website is for my band, and we have a video page where people can download a .wmv file and it will automatically start playing in Windows MEdia Player - I use the following code:

<object

id="mediaPlayer" WIDTH=280 HEIGHT=200

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="animationatStart" value="true">
<param name="transparentatStart" value="false">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="fileName" value="http://members.optusnet.com.au/~celebritymusic/g/gilbert.wmv">
</object>

If the user doesn't have the codec for .wmv, then Media Player tries to automatically download it. Normally, a security certificate pops up asking if they want to download it, but in this case the pop-up is hidden behind the main window of the website (I assume because it is set to full screen).

My question is how do I make the security certificate window pop up in front of my website window, so the user can click 'yes' and have the .wmv codec downloaded allowing them to see the video?

Thanks!!

agent002
07-16-2004, 10:44 AM
Hi CelebrityMusic,
sounds like a typical IE bug :rolleyes:
I have never heard of it before, and I can't think of any fix for it. Maybe you could try window.blur() and window.focus() at different events, but I doubt there is anything you can do... maybe not just use fullscreen mode?