Suchergebnisse
Suchergebnisse 1-15 von insgesamt 15.
Hi all! I am trying to use Security krpano tag in my main XML for a cross domain usage. I have two problems: 1) I tested with HTML5 but I don't understand what is the reason of the CORS attribute? I used it and nothing happens! Can someone help with an example please? 2) And with flash! it works without use <crossdomainxml url="http://.../crossdomain.xml" />, so what is the security?
Hi everyone! I'm developing a website where is stored my swfkrpano.js the krpano.swf and my krpano.xml.php, and my clients (in other sites) loads my panoramas through a cross-domain request of those files. My main XML file (krpano.xml.php) is a PHP, and... for dinamyc and security reasons this file needs to somehow evaluate what domain are doing the request of my krpano.xml.php? so then, it will decide if the domain is a valid domain and then generate some dinamyc XML response My question is.. h...
Congratulations Klaus! very good work! I would like some improvements in the include tag! at least to accept the variables that are passed during the viewer embed Regards
Thanks for respond Klaus!! I was trying to select an XML (desktop.xml, tablet.xml, mobile.xml) for include before to embed, so my solution was use a main XML en this use an other include to a PHP (template.php) This include send a GET vars (desktop, tablet and mobile) echo '<include url="%SWFPATH%/template.xml.php?desktop=%$device.desktop%&tablet=%$device.tablet%&mobile=%$device.mobile />'; And later with PHP I detect the get vars for include the correct XML!
Hi all! I want to know if it is possible to know with javascript what type of device is it (desktop, tablet or mobile), using just the swf krpano.js API before to embed the viewer??
Solved! I was using an older version of krpanoiphone.js!
Hello, I'm working on a panorama that works with Flash and HTL5, in which there is a cycle (FOR), but only when I try it in the simulator IPHONE / IPAD, the cycle (FOR) has an error: Warning: unknown action: for It works perfectly in Flash formato, someone knows why?
Hi, can someone help me with this: I'm trying to pass a HTML var to my XML <script> var viewer = createPanoViewer({swf:"index.swf",target:"pano"}); viewer.addVariable("xml", "index.xml"); viewer.addVariable("template", "red"); viewer.addVariable("wmode", "transparent"); viewer.embed(); </script> to later use it in a Include tag <include url="templates/%$ template%/config.xml"/> It doesnt work for me
It works with this: embedpano({swf:"panorama.swf", xml:"panorama.xml", target:"pano", wmode:"transparent"}); I had not clear the cache. Thanks Klaus you are the best!
Thanks Klaus I tried this: embedpano({swf:"panorama.swf", xml:"panorama.xml", target:"pano", wmode:"transparent"}); But it doesnt work.
Hello. I was using a krpano tool version 1.0.8.11. When i need to set a Wmode Param, i just write in the HTML the next line. so.addParam("wmode","transparent"); But right now i download the new version (1.0.8.14) and the sintax is diferent. I dont know how can i set the Wmode embedpano({swf:"panorama.swf", xml:"panorama.xml", target:"pano"});????? Please, can someone help me??
John Myrstad, I had not read your comment, but thanks you too
Thanks Klaus!, i found it
Hi, Where is "flash-cs4-embed-example", please. Thanks