iPad (get flash) problem in embedded html page (SOLVED)

  • I added the following script in my project to open the panorama in a html table. But when I open the page on my iPad I get the ' get the flashplayer' above the displayed panorama. How do I get it displayed on the iPad without the message? Bye the way, you can see the pano on the ipad. Thanks for your help


    -----
    <script type="text/javascript">
    // <![CDATA[
    if (typeof(deconcept) !== 'undefined')
    {
    if (deconcept.SWFObjectUtil.getPlayerVersion().major >= 6)
    {
    var so = new SWFObject("index.swf", "krpanoSWFObject", "930", "460", "9.0.28");

    so.addParam("allowFullScreen","true");
    so.addParam("wmode","transparent");
    so.useExpressInstall("media/script/expressinstall.swf");
    so.setAttribute("xiRedirectUrl", window.location);

    so.addVariable("pano", "index.xml");

    if ( so.write("krpanoDIV") ) { var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
    }
    else
    {
    document.getElementById("krpanoDIV").innerHTML = '<div class="player">ERROR:<br><br>Adobe Flash Player 9 needed<br><br><br><a href="http://www.adobe.com/go/getflashplayer/" target="_blank"><img src="http://www.macromedia.com/images/shared/…lash_player.gif" border="0" alt="Flash Player"></a><br>...click here to download...<br><br><br><br></div>';
    }
    }
    else
    {
    document.getElementById("krpanoDIV").innerHTML = '<div class="player">ERROR:<br><br><b>./swfobject/swfobject.js</b> not found<br><br><br><br><br></div>';
    }

    </script>
    -----

    Edited once, last by Bonoman (February 5, 2011 at 10:25 AM).

  • and i added this...


    -----------------

    <script src="index.js"></script>
    <script>
    var swf = createswf("index.swf","krpanoSWFObject","640","480");
    swf.addVariable("xml", "index.xml");
    swf.embed("krpanoDIV");
    </script>
    <script> embedpano({target:"panocontent"}); </script>

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!