opaque of panorama

Q&A about the latest versions
Post Reply
byker
Posts: 5
Joined: Thu May 23, 2013 6:41 pm

Fri Jun 21, 2013 8:59 pm

Hello,
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>
There is a parameter "opaque" which allows me to put some divs on the panorama container(div with z-index 2 is above the div with z-index 1)-
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 !
Post Reply