Hello,
I have this problem - when my xml file is crated dynamicly on the server I get Loading error (IO errror).
When I use the same content of xml but not crated dynamically but as a xml text file - everything works fine.
In my html i use this code:
Code
<script>
var viewer = createPanoViewer({swf:"krpano/krpano.swf",target:"pano"});
viewer.addVariable('xml', 'http://aroundcyprus.net/index.php?id=53&p=52');
viewer.embed();
</script>
The dynamically crated xml file works well and in this case it will return:
XML
<?xml version="1.0" encoding="utf-8"?>
<krpano version="1.0.8.14" logkey="false">
<action name="mainloadpano">closepanoobjects();
ifnot(stopSequence === undefined,interruptAnimation(););
loadpano(%1,NULL,NULL,BLEND(1));</action>
<include url="files/52/build/virtualtour-local.xml"/>
<include url="krpano/generalTPL-v01.xml"/>
<data name="html1" devices="desktop|tablet">52
<h2>History</h2>
The site was discovered in 1934 by...
</data>
</krpano>
Display More
Wold really appreciate Your insight in to this.
Lucas