You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, February 4th 2011, 1:14pm

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/download_buttons/get_flash_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>
-----

This post has been edited 1 times, last edit by "Bonoman" (Feb 5th 2011, 10:25am)


2

Friday, February 4th 2011, 1:28pm

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>