Sie sind nicht angemeldet.

1

Freitag, 25. April 2014, 20:49

Krpano embeds not working on iPad/Android

Hi there! I'm hoping you guys can save me a lot of stress! There's only so much you can work out on your own *smile*
My krpano embeds don't seem to work on iPad or Android devices, but seem fine on desktop. From mobile and Apple devices I get an xml loading error.
Here's the xml code:


<?xml version="1.0"?>
<krpano version="1.16">
<include url="skin/flatskin.xml"/>
<view maxpixelzoom="1.0" vlookat="0" hlookat="0" limitview="fullrange" fovtype="HFOV"/>
<preview url="Newcastle_Map.tiles/preview.jpg"/>
<image progressive="true" tilesize="512" multires="true" voffset="0.00" vfov="0.708043" hfov="1.00" type="CYLINDER">
<level download="view" tiledimageheight="6206" tiledimagewidth="8765">
<cylinder url="Newcastle_Map.tiles/l5/%v/l5_%v_%h.jpg"/>
</level>
<level download="view" tiledimageheight="3103" tiledimagewidth="4383">
<cylinder url="Newcastle_Map.tiles/l4/%v/l4_%v_%h.jpg"/>
</level>
<level download="view" tiledimageheight="1552" tiledimagewidth="2192">
<cylinder url="Newcastle_Map.tiles/l3/%v/l3_%v_%h.jpg"/>
</level>
<level download="view" tiledimageheight="776" tiledimagewidth="1096">
<cylinder url="Newcastle_Map.tiles/l2/%v/l2_%v_%h.jpg"/>
</level>
<level download="view" tiledimageheight="363" tiledimagewidth="512">
<cylinder url="Newcastle_Map.tiles/l1/%v/l1_%v_%h.jpg"/>
</level>
</image>
</krpano>


And my embedding code is:


<script src="http://MYWEBSITE.js"></script>

<div id="pano" style="width:100%;height:100%;">

<script>
embedpano({swf:"http://MYWEBSITE.swf", xml:"http://MYWEBSITE.xml", target:"pano", html5:"fallback",height:"700", passQueryParameters:true});
</script>
</div>


Any pointers you can give me would be awesome.


Thanks in advance!
AR, VR, virtual tours, 3D modelling and apps, plus a cityguide to events in Durham

2

Dienstag, 29. April 2014, 11:38

Hi,

the paths to the js, swf and xml files need to be real/correct ones.
Something like 'http://MYWEBSITE.js' will not work of course.

Best regards,
Klaus