Hello all!
One of my clients has embedded his virtual tour like this:
Code
<script src="https://s3-eu-west-1.amazonaws.com/autofs/shared/tourvista/land_rover/files/tour.js"></script>
<script src="https://s3-eu-west-1.amazonaws.com/autofs/shared/tourvista/land_rover/files/plugins/swfaddress.js?tracker=null"></script>
<div id="pano" style="width:100%; height:100%;"><embed name="krpanoSWFObject" id="krpanoSWFObject" style="outline:none;" type="application/x-shockwave-flash" src="https://s3-eu-west-1.amazonaws.com/autofs/shared/tourvista/land_rover/files/tour.swf" wmode="direct" bgcolor="#000000" allowfullscreen="true" allowscriptaccess="always" flashvars="onstart=activatepano(land_rover_range_rover_sport);&xml=https://s3-eu-west-1.amazonaws.com/autofs/shared/tourvista/land_rover/files/tour_clean.xml" height="100%" width="100%">
</div>
Here is the link to it:
http://www.gforces.co.uk/ct/tour/landro…over_sport.html
Today he contacted me because the virtual tour doesn't work on an iPad, iPhone, etc...
I think it's because of the way he has embedded the virtual tour, but I want to be 100% sure before let him know that he will have to change hundreds of html files to somthing like this:
Code
<script src="https://s3-eu-west-1.amazonaws.com/autofs/shared/tourvista/land_rover/files/tour.js"></script>
<div id="pano" style="width:100%; height:100%;">
<noscript>
<div id="align_centre"> <b>Attention:</b><br/> <p>Your browser's Javascript is not activated.</p> <p>Please activate it to see the virtual tour.</p><br/> </div>
</noscript>
<script>
var variables = {};
variables["onstart"] = "activatepano(land_rover_range_rover_sport);";
var viewer = embedpano({swf:"https://s3-eu-west-1.amazonaws.com/autofs/shared/tourvista/land_rover/files/tour.swf", xml:"https://s3-eu-west-1.amazonaws.com/autofs/shared/tourvista/land_rover/files/tour.xml", target:"pano", html5:"auto", vars:variables, passQueryParameters:true});
</script>
</div>
Display More
What do you think, any chance to make it work on iPads with his current code?
Thanks!!!