www.webdeveloper.com
Results 1 to 2 of 2

Thread: Flash movie autoplay

Hybrid View

  1. #1
    Inga.'s Avatar
    Inga. is offline Motstånd är meningslöst
    Join Date
    Dec 2008
    Location
    Sweden
    Posts
    65

    Flash movie autoplay

    I've done some flash movies with embedded controllers using the flv files using instructions I saw in another thread (thank you, Eye For Video!) . I can load the .swf file to the page and all works fine. However, if I turn the Autoplay and Loop check boxes to off, the videos still play on page load. How do I make these movies not play until the user clicks the play button?

    The page is located at: http://www.ditec-bilvard.se/webtv.html

    The object code is the default from DW CS4 with the autoplay and loop check boxes set to off:
    Code:
    <object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240">
                  <param name="movie" value="animations/glastec.swf" />
                  <param name="quality" value="high" />
                  <param name="wmode" value="opaque" />
                  <param name="swfversion" value="6.0.65.0" />
                  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                  <param name="expressinstall" value="scripts/expressInstall.swf" />
                  <param name="PLAY" value="false" />
                  <param name="LOOP" value="false" />
                  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                  <!--[if !IE]>-->
                  <object type="application/x-shockwave-flash" data="animations/glastec.swf" width="320" height="240">
                    <!--<![endif]-->
                    <param name="quality" value="high" />
                    <param name="wmode" value="opaque" />
                    <param name="swfversion" value="6.0.65.0" />
                    <param name="expressinstall" value="scripts/expressInstall.swf" />
                    <param name="PLAY" value="false" />
                    <param name="LOOP" value="false" />
                    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                    <div>
                      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                    </div>
                    <!--[if !IE]>-->
                  </object>
                  <!--<![endif]-->
                </object>

  2. #2
    Inga.'s Avatar
    Inga. is offline Motstånd är meningslöst
    Join Date
    Dec 2008
    Location
    Sweden
    Posts
    65
    Fixed. After a lot of websearching, I realised you also must set the property for autoplay to false in the flash file as you create it in the well hidden properties section behind the clickable little graphic.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles