0 Replies Latest reply on Nov 2, 2011 1:06 PM by qumi

    How to hide Flash Video Controls on page load

    qumi Level 1

      BACKGROUND:

       

      I created a flash intro on an html webpage by:

       

      a) Creating a flash video (.flv) file from Adobe Premier Elements 4.0.

      b) Inserting the flv file into my index.html page using Dreamweaver CS3 > Insert Flash Video and choosing a skin (Corona Skin 2)

      c) Uploading the resulting index.html page to the root of my website along with the FLVPlayer_Progressive.swf, Corona_Skin2.swf and myvideo.flv files.

       

       

      RESULT:

       

      The flash intro loads, autoplays and doesn't autorewind, so far so good.

       

      The player controls (the pause/play button, progress bar, and mute/unmute button) become visible as soon as the page loads, regadless of whether the user mouses over the video image or not (this is NOT the desired behaviour).

       

      The player controls disappear, as desired, if the user (first mouses into, then) mouses off the video image.  This is perfect.

       

      ISSUE:

       

      How do I prevent the automatic diplay of the player controls upon page load and only show those controls when a user mouses over the video itself?

       

      Relevant portion of code used is:

       

      ____________________________

       

      <script type="text/javascript">

      AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','widt h','720','height','480','class','mgqplayer','id','FLVPlayer','src','FLVPlayer_Progressive' ,'flashvars','&MM_ComponentVersion=1&skinName=Corona_Skin_2&streamName=videos/flash/2011_h urr_intro&autoPlay=true&autoRewind=false&skinAutoHide=true','quality','high','scale','nosc ale','wmode','transparent','name','FLVPlayer','salign','lt','pluginspage','http://www.adob e.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_P rogressive' ); //end AC code

      </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="720" height="480" class="mgqplayer" id="FLVPlayer">

              <param name="movie" value="FLVPlayer_Progressive.swf" />

              <param name="salign" value="lt" />

              <param name="quality" value="high" />

              <param name="scale" value="noscale" />
             
              <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Corona_Skin_2&streamName=videos/flash/2011_hurr_in tro&autoPlay=true&autoRewind=false&skinAutoHide=true" />
             
              <param name="wmode" value="transparent" />

              <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_2&streamName=videos/flash/2011_hur r_intro&autoPlay=true&autoRewind=false&skinAutoHide=true" quality="high" scale="noscale" wmode="transparent" width="720" height="480" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />       

      </object></noscript>

       

      ________________________________

       

      Thanks.