473,407 Members | 2,598 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,407 software developers and data experts.

Div layer goes behind quicktime player in IE

1
I am facing this problem of DIV layer going behind the quick time player in IE 7 browser. It works good in Firefox. HTML code that i am using is below. Is some IE specific code required here? Any help is appreciated.

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>Sample Page</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  5. <style type="text/css">
  6. <!--
  7. #overlay{position:absolute; left:100px; top: 100px; padding: 5px; background: rgb(220, 233, 240) none repeat scroll 0%; z-index: 1;}
  8.  
  9. #player{position: absolute;
  10.     left: 200px; top: 80px; background: rgb(45, 114, 157) none repeat scroll 0%; overflow: hidden; width: 480px; height: 295px; font-size: 1px;z-index:0;
  11. }
  12.  
  13. -->
  14. </style>    
  15. <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
  16. <!--
  17. // these are the scripts that are called in the links.
  18.  
  19. var texttop = 100;
  20. var textleft = 100;
  21.  
  22. function move(amount)
  23. {
  24.     var x = document.getElementById('overlay');
  25.     texttop += amount;
  26.     x.style.top = texttop;
  27. }
  28.  
  29. function hmove(amount)
  30. {
  31.     var x = document.getElementById('overlay');
  32.     textleft += amount;
  33.     x.style.left = textleft;
  34. }
  35. // -->
  36. </SCRIPT></head>
  37.  
  38. <body>
  39. <div id="player">
  40.     <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
  41.         codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=7,3,0,0" id="movieName2"  
  42.         height="295" width="480">
  43.         <param name="src" value="somemovie480.mov">
  44.         <object data="somemovie480.mov" type="video/quicktime" 
  45.         height="295" width="480">
  46.         <param name="wmode" value="transparent">
  47.         <param name="autoplay" value="true">
  48.         <param name="controller" value="false">
  49.         </object>
  50.         <param name="autoplay" value="true">
  51.         <param name="saveembedtags" value="true">
  52.         </object>
  53.  
  54. </div>
  55.  
  56. <div id="overlay">Overlay</div>
  57.  
  58. <br>
  59. Move div <A CLASS="page" HREF="javascript:move(50);">50 pixels down</A>.<BR>
  60. Move div <A CLASS="page" HREF="javascript:move(-50);">50 pixels up</A>.<BR>
  61. Move div <A CLASS="page" HREF="javascript:hmove(-50);">50 pixels left</A>.<BR>
  62. Move div <A CLASS="page" HREF="javascript:hmove(50);">50 pixels right</A>.<BR>
  63.  
  64.  
  65. </body>
  66. </html>
  67.  
  68.  
Feb 1 '08 #1
1 2449
acoder
16,027 Expert Mod 8TB
See if this recent thread is any help.
Feb 1 '08 #2

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

Similar topics

2
by: Paul Sellis | last post by:
Hi, I need to make an "on demand" QuickTime movie from a menu. So I would like to be able to keep the Quicktime movie player 'open' throughout this presentation, and clicking on the various...
7
by: Sean | last post by:
Hi I've written an HTML page that has a link to an MPG file, to be burned onto a "Demo CD". The MPG file is quite big - 500MB. On my computer, it works fine - clicking the link opens up Windows...
2
by: Vanga Sasidhar | last post by:
Already posted the same message but the date and time of my machine was set back. and it was listed under the old date. Thats why I am posting the same message again. Please accept this. ...
3
by: ghassett | last post by:
Hello, When I have a Quicktime object embedded in my web page, and I use Javascript to set its URL, the clip always starts playing immediately, even if I have the player's autoplay property set...
0
by: Heidi V.Hundåla | last post by:
Hi! I have a Windows Forms Application, which I am making in Visual Studio 2005, hence I am using the 2.0 framework. I want to include a Quicktime player/plugin in order to play 3gp-files. ...
0
by: Al_C | last post by:
Am stuck for now with a .mov file that they want to show. So I need to use Quicktime control and have it installed on my computer. Anyway, having gone through all this I can get it to play. The...
22
by: Michael Levin | last post by:
I have a very simple page, which shows 3 Quicktime movies in a table. I think I'm using just standard simple HTML. In Netscape or Safari on a Mac, they look fine. In Internet Explorer on a PC, the...
0
by: rwelti | last post by:
I'm hoping you might have a pointer on a very simple question: When I embed .mov or .mp4 files using Quicktime Player for any Windows browser, I see an annoying white empty box with a blue "QT"...
1
by: josephChiaWY | last post by:
Hi all, Recently, i have met a problem in playing the selected video in the embedded quicktime player. I am creating a video gallery for people to view their .mov file on quicktime player. Below...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...
0
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,...
0
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...

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.