You are not logged in.

1

Wednesday, September 14th 2016, 10:05am

Adding a layer over my pano: a bug with Opera?

I want to use a layer to show a message that will always stick at the center of the pano. With my xml below everything seems to work just fine at least on the latest versions of Firefox and Chrome on Ubuntu 14.04. However, this is not the case for my Opera 12.16 Build 1860 for Linux x86_64, where the layer does not show up and the player used by krpano seems to be flashplayer. My guess is that the layer is there indeed but does not overlay the pano.

Is this a bug of Opera or am I missing something?

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<krpano>
	
<view hlookat="0" vlookat="0" maxpixelzoom="1.0"  fov="40"  fovmax="150" limitview="auto" />

	<autorotate enabled="true"
            waittime="0.2"
            speed="8.0"
	    horizon="20"
            />

	<preview url="mypano.tiles/preview.jpg" />

	<image type="CUBE" multires="true" tilesize="512">
		<level tiledimagewidth="5184" tiledimageheight="5184">
			<cube url="mypano.tiles/mres_%s/l4/%v/l4_%s_%v_%h.jpg" />
		</level>
		<level tiledimagewidth="2624" tiledimageheight="2624">
			<cube url="mypano.tiles/mres_%s/l3/%v/l3_%s_%v_%h.jpg" />
		</level>
		<level tiledimagewidth="1280" tiledimageheight="1280">
			<cube url="mypano.tiles/mres_%s/l2/%v/l2_%s_%v_%h.jpg" />
		</level>
		<level tiledimagewidth="640" tiledimageheight="640">
			<cube url="mypano.tiles/mres_%s/l1/%v/l1_%s_%v_%h.jpg" />
		</level>
		<mobile>
			<cube url="mypano.tiles/mobile_%s.jpg" />
		</mobile>
	</image>

<layer name="central_msg"
       url="%SWFPATH%/plugins/textfield.swf"
       visible="true"
       enabled="true"
       handcursor="false"
       html=""
       alpha="1.0"
       align="center" x="0" y="0"
	background="false" 
       />

</krpano>

2

Thursday, September 15th 2016, 9:10am

Hi,

try using wmode=opaque-flash for the Flashplayer embedding to allow html content to overlap the Flashplayer:
http://krpano.com/docu/html/#wmode

Best regards,
Klaus

3

Thursday, September 15th 2016, 11:47am

Thank you. So if I understand correctly from the documentation, this is a setting that should be put in the embedpano function like this:

Source code

1
embedpano({swf:"mypano.swf", xml:"mypano.xml", target:"container", wmode:"opaque-flash"});


Am I correct?

4

Thursday, September 15th 2016, 9:08pm

Yes.