SWF autoplay

  • Started
  • Last post
  • 5 Responses
  • CygnusZero4

    Anyone know why I need to right click on this SWF in the browser and select play to get it to play? Ive tried adding a couple autoplay lines but its not doing anything.

    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>

    <body>
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720" height="450">
    <param name="movie" value="testing.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">
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="testing.swf" width="720" height="450">
    <!--<![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">
    <!-- 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">

    Get
    </a></p>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashI...
    </script>

  • detritus1

    Because Flash is shit and browsers are increasingly viewing it with the distrust it rightfully deserves, requiring an exception or user-confirmation to run?

  • CygnusZero40

    So no way around this?

    • For you personally, yes — but if this is going out to the public, possibly not.detritus
  • CygnusZero40

    I dont know what that means, for me personally. Whats the difference between me and anyone else that needs to view this. Im pretty sure ive made SWFs that auto-played pretty recently. Not sure why this one wont.

    • What he means is that it's a user-based decision to even allow Flash to run now in most modern browsers.ETM
  • evilpeacock1

    All major browsers have enabled a "click-to-Flash" or similar security blocker for SWFs over the past years; Chrome has a sandboxed (e.g. more secure) Flash plug-in embedded in the app so they're the last major browser to do this as of this year.

    There are major vulnerabilities in the Flash plugin that might never be fully patched (https://www.cvedetails.com/vuln...

    It's a technology on life support, if that. I'd avoid using it, starting all the way back in 2011.

    It is super easy to setup HTML/CSS animation to autoplay (https://www.w3schools.com/cssre... One might be able to convert your Flash Project to HTML with Adobe Animate (used to be Flash Pro) and work with that.

    • Ye - if video use HTML5, if an animation export as HTML5/CSS. Avoid usinf Flash Player for anything commercialfadein11
  • CygnusZero40

    Alright, well this is just for some people to review, so Ill have to add some simple instructions to the page telling them to right mouse click and select play.