I m come from China
my english is poor,but read the following please,I need help.
I want to add polygon hotspots on my pano and my KRpano version is 1.18.
the notes of krpano 1.18 released :
- Improved HTML5 Support
- Panoramic video support for HTML5
- Better performance and higher quality than Flash in many cases.
- Free seeking during loading.
- Works on mobile devices with WebGL support (iOS 8, Android Chrome, Android Firefox). Has a special iPhone support (normally panoramic video wouldn't be possible in the iPhone browser due iOS limitations).
- New videointerface skin with many new features - direct seeking, video quality changing, projection menu, mobile support, flat-view fallback with moving and zooming when there is no WebGL support.
- Support spherical and cylindrical panoramic images in HTML5 (with WebGL) and dynamic transitions between spherical and flat projection.
- Polygonal hotspot support.
- Contextmenu for touch devices.
- Styleable Contextmenu.
- showtext() support.
- Gyro support for Android Chrome, Android Chrome and Windows Phone.
- Improved mobile devices / browser support.
- Improved pano rendering and blending.
- Panoramic video support for HTML5
The third means krpano 1.18 is supports the polygon hotspots for html5
But when i write this :
<script>
embedpano({swf:"viewer/krpano.swf", xml:"tour-cross.xml", target:"pano", html5:"prefer", passQueryParameters:true});
</script>
into my HTML code,the polygon hotspot can't show in the pano
when i write this:
<script>
embedpano({swf:"viewer/krpano.swf", xml:"tour-cross.xml", target:"pano", flash:"prefer", passQueryParameters:true});
</script>
into my HTML code,the polygon hotspots can show in the pano
why?
here is the way i added polygon hotspots;
<hotspot name="length"
keep="false"
visible="true"
enabled="true"
handcursor="true"
capture="true"
blendmode="normal"
alpha="1.0"
autoalpha="false"
fillcolor="0xFF0000"
fillalpha="0.5"
borderwidth="3.0"
bordercolor="0xFF0000"
borderalpha="1.0"
z-index="20"
onclick="aaaa()"
>
<point ath="0" atv="0" />
<point ath="30" atv="30" />
</hotspot>
If polygon hotspots are supported for html5 in 1.18 version ,why i can't add the polygon hotspots on my pano which is prefer for html5?
ps: my KRpano version is 1.18.
thank for reading ,my english is poor.
any help please?