Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: WMV Positioning  (Read 3218 times)

0 Members and 1 Guest are viewing this topic.

ferogain

    Topic Starter


    Starter

    WMV Positioning
    « on: July 14, 2009, 11:38:20 AM »
    I have a small wmv on my site that I want to appear on top of an image. The image is of a stage curtain and I want the video to appear to be on the stage between the open curtains. This is my HTML to launch the video...

    <!-- begin embedded WindowsMedia file... -->
          <table border='0' cellpadding='0' align="center">
          <tr><td>
          <OBJECT id='mediaPlayer' width="320" height="285"
          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="gctupload.wmv">
          <param name='animationatStart' value='true'>
          <param name='transparentatStart' value='true'>
          <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="320" height="285"
            src="gctupload.wmv" autostart="false" designtimesp='5311' loop="false">
          </EMBED>
          </OBJECT>
          </td></tr>
          <!-- ...end embedded WindowsMedia file -->
        <!-- begin link to launch external media player... -->
            <tr><td align='center'>
            <a href="gctupload.wmv" style='font-size: 85%;' target='_blank'>Launch in external player[/url]
            <!-- ...end link to launch external media player... -->
            </td></tr>


    And I have no idea how to put the video sop it runs on top of the picture. Thanks for any help.

    ferogain

      Topic Starter


      Starter

      Re: WMV Positioning
      « Reply #1 on: July 14, 2009, 07:29:40 PM »
      I found this site...

      http://www.maconstateit.net/Tutorials/XHTML/XHTML09/xhtml09-03.htm

      And under "Styling the Player" it shows what I want to do, but I don't care about the image map for the controls. I just want the video to sit on top of the image.

      I tried to use the script the supplied and could not get it to work. Thanks in advance again for any help.

      ferogain

        Topic Starter


        Starter

        Re: WMV Positioning
        « Reply #2 on: July 15, 2009, 04:56:31 PM »
        No idea huh? Ok, thanks anyway.

        Rob Pomeroy



          Prodigy

        • Systems Architect
        • Thanked: 124
          • Me
        • Experience: Expert
        • OS: Other
        Re: WMV Positioning
        « Reply #3 on: July 17, 2009, 06:57:11 AM »
        You need to use the z-index property of CSS.  Read more here: http://www.w3.org/TR/CSS21/visuren.html#layers
        Only able to visit the forums sporadically, sorry.

        Geek & Dummy - honest news, reviews and howtos