I have an html page “ACB-2.1-Deambulatorio.html” ; I need a new RW page to display my panorama
1- xml file : “ACB-2.1-Deambulatorio.xml”
2- two .js files : pano2vr_player.js and skin.js
3- folder containing all the 6 faces of the panoramas and skin buttons : “images”
I have copied the html code from “ACB-2.1-Deambulatorio.html” and paste in a HTML Stack in RW
I have uploaded via ftp all that files (1,2,3) to the folder of this RW page
…Still can´t see my html5 panorama.
This is the html code :
<script type="text/javascript" src="pano2vr_player.js">
</script>
<script type="text/javascript" src="skin.js">
</script>
<div id="container" style="width:770px;height:460px;">
This content requires HTML5/CSS3, WebGL, or Adobe Flash Player Version 9 or higher.
</div>
<script type="text/javascript">
// create the panorama player with the container
pano=new pano2vrPlayer("container");
// add the skin object
skin=new pano2vrSkin(pano);
// load the configuration
pano.readConfigUrl("ACB-2.1-Deambulatorio.xml");
// hide the URL bar on the iPhone
setTimeout(function() { hideUrlBar(); }, 10);
</script>
<noscript>
<p><b>Please enable Javascript!</b></p>
</noscript>
And this is the content of the xml file :
<?xml version="1.0" encoding="UTF-8"?>