I try to embed a pano with
Code: Select all
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("9.0.0")) {
var flashvars = {};
flashvars.externalinterface="1";
var params = {};
params.quality = "high";
params.wmode = "opaque";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "pano";
attributes.name = "pano";
attributes.align = "middle";
swfobject.embedSWF(
"pano1.swf", "pano",
"100%", "100%",
"9.0.0", "expressInstall.swf",
flashvars, params, attributes);
} else
// check for CSS3 3D transformations and WebGL
if (ggHasHtml5Css3D() || ggHasWebGL()) {
// create the panorama player with the container
pano=new pano2vrPlayer("pano");
pano.readConfigUrl("<?php echo get_post_meta($post->ID, "nazwa-xml", true); ?>");
// hide the URL bar on the iPhone
hideUrlBar();
// add gyroscope controller
gyro=new pano2vrGyro(pano,"pano");
}
</script>
but after doing that, the mousewheel (zoom in panorama) stops working. How can I solve this problem?
This problem occurs in mozilla firefox- opera and IE seems to work fine. Maybe there is another way to solve the problem with z-index of .swf file? Thank you !