May 28, 201214 yr Hi all, Could someone please advice or provide some code which will allow me to show some HTML instead of Flash when viewed on an iPhone or iPad? I have a large flash banner for one of my websites, however for iPhone or iPad I'd like to show some HTML with a still image instead.
May 28, 201214 yr I have avoided using Flash on anything I've made, but I believe you can use: <object data="example.swf"> <!-- No-Flash HTML here --> <h1>You don't have Flash installed</h1> <p>Good boy.</p> <!-- End no-Flash HTML --> </object>
May 28, 201214 yr Author I have avoided using Flash on anything I've made, but I believe you can use: <object data="example.swf"> <!-- No-Flash HTML here --> <h1>You don't have Flash installed</h1> <p>Good boy.</p> <!-- End no-Flash HTML --> </object> Hi Andy, thanks for this code. Ha, yes I avoid Flash as well - it's for a site I built years ago.
May 28, 201214 yr Author I have avoided using Flash on anything I've made, but I believe you can use: <object data="example.swf"> <!-- No-Flash HTML here --> <h1>You don't have Flash installed</h1> <p>Good boy.</p> <!-- End no-Flash HTML --> </object> Hi Andy. Sorry, I've tried to implement the code but it doesn't quite work. Here is what I have currently.... <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="955" height="462" id="FlashID" title="TITLE"> <param name="movie" value="includes/top.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="9.0.45.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="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="includes/top.swf" width="955" height="462"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="9.0.45.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <param name="LOOP" value="false" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <img src="images/no-flash.jpg" alt="TITLE" width="955" height="462" /> <!--[if !IE]>--> </object> <!--<![endif]--> </object> Attempting to replace this code (and updating the links) with yours creates an error. Where Flash is enabled, nothing shows. Am I doing something wrong? Edited May 28, 201214 yr by C A R
May 28, 201214 yr Author Hi Andy. Sorry, I've tried to implement the code but it doesn't quite work. Here is what I have currently.... <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="955" height="462" id="FlashID" title="TITLE"> <param name="movie" value="includes/top.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="9.0.45.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="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="includes/top.swf" width="955" height="462"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="9.0.45.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <param name="LOOP" value="false" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <img src="images/no-flash.jpg" alt="TITLE" width="955" height="462" /> <!--[if !IE]>--> </object> <!--<![endif]--> </object> Attempting to replace this code (and updating the links) with yours creates an error. Where Flash is enabled, nothing shows. Am I doing something wrong? Hi Andy, don't worry I've managed to get it working - thanks again! Edited May 28, 201214 yr by C A R
Create an account or sign in to comment