I've created my mini tour in autopano Tour and I'm trying to add general functionalities like context menu to start with.
heres the code.
Is there something I'm not seeing here.
Another thing, if I have to upload and embed the tour into wordpress. Is there a particular way I should be organise my assets.
{
house_tour_v01.html
house_tour_v01.swf
context.xml
swfobject [FOLDER]
house_tour_v01data [FOLDER]
}
autopano spit out with my added variable
<html>
<body>
<div id="aptDIV">
<noscript>ERROR: no Javascript</noscript>
</div>
<script type="text/javascript" src="./swfobject/swfobject.js">
</script>
<script type="text/javascript" src="./swfobject/swfkrpanomousewheel.js">
</script>
<script type="text/javascript">
if (typeof(deconcept) !== 'undefined' &&
deconcept.SWFObjectUtil.getPlayerVersion().major >= 6)
{
var so = new SWFObject("house_tour_v01.swf", "aptSWFObject",
"640", "480", "9.0.28","#000000");
so.addParam("allowFullScreen","true");
so.addVariable("xml", "context.xml");
so.useExpressInstall("./swfobject/expressinstall.swf");
if ( so.write("aptDIV") )
{ var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
}
else
{
document.getElementById("aptDIV").innerHTML = 'Flash Player 9 needed';
}
</script>
</body>
</html>