Hi all ^^
I've browsed through different threads but can't solve my problem.
I made a tour with two xml version (one for flash and one for IOS), when loading the swf file it works well,
loading the html page under iPhone works either, but loading the html with the flash version generates a parsing error.
Here's my html code :
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>krpano.com - pano4</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style>
html { height:100%; }
body { height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
</style>
</head>
<body>
<div id="pano" style="width:100%; height:100%;">
<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script src="tour.js"></script>
<script>
var viewer = createPanoViewer({swf:"flash_tour.swf",target:"pano"});
viewer.useHTML5("whenpossible");
if( viewer.isDevice("iPhone|iPod|iPad") )
viewer.addVariable("xml", "tour.xml");
else
viewer.addVariable("xml", "flash_tour.xml");
viewer.embed();
</script>
</div>
</body>
</html>
Display More
Here's the link for testing : CLIC HERE !
It seems that the xml includes are the problem but don't understand what I did wrong !!
Thanks in advance !!