Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2008
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Drop down menu to show in front of embedded video

    Dear people,

    I have a page with an embedded video:

    <OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="146" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    STANDBY="Wait..." TYPE="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="viz.wmv">
    <PARAM name="ShowControls" VALUE="false">
    <param name="ShowStatusBar" value="false">
    <PARAM name="ShowDisplay" VALUE="false">
    <PARAM name="autostart" VALUE="true">
    <EMBED TYPE="application/x-mplayer2" SRC="viz.wmv" NAME="MediaPlayer"
    WIDTH="192" HEIGHT="146" ShowControls="0" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </EMBED>
    </OBJECT>

    There's a menu that drops down on top of the embedded video. When you use the menu and it drops down it always goes behind the video. What can I do to make it drop down in FRONT of the video so you can see the menu??

    I've tried to give in the CSS a z-index:-2; to the div that contains the video, but it does not work.

    Thanks a lot In advance!!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Have a try by adding
    Code:
    <param name="wmode" value="transparent">
    Code:
    <object
    type="application/x-shockwave-flash" data="viz.wmv" 
    width="192" height="146">
    <param name="movie" value="viz.wmv">
    <param name="wmode" value="transparent">
    </object>
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Umm thats not a flash file. Its a windows media video so that won't work. wmode is flash only.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by _Aerospace_Eng_ View Post
    Umm thats not a flash file. Its a windows media video so that won't work. wmode is flash only.
    LOL, I haven't read his full code without [code]
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •