Thank you Klaus for explanation.You can adjust depth and scale the same time - e.g. when using:
depth=1000 + scale=1
depth=500 + scale=0.5
depth=2000 + scale=2
depth=4000 + scale=4
the hotspot will always have the same size.
That means when the hotspot is farther away, it would need to be scaled more to get the same size.
Benutzerinformationen überspringen
Beruf: krpano freelancer || creating ideas & coding them || krpano developer
Benutzerinformationen überspringen
Beruf: krpano freelancer || creating ideas & coding them || krpano developer
Hi
I build a mobile application by phonegap and krpano 1.19-pr4.
I test my app in ios 9 and android 5 and every thing was fine.
but when i test my app in android 4.3 , i get this error :
Local usage with file:// urls is limited due browser security restrictions!
how can i solve it?
|
|
Quellcode |
1 2 3 4 |
<skin_settings
webvr="true"
/>
<include url="%SWFPATH%/plugins/webvr.xml" devices="html5" if="skin_settings.webvr == true" />
|
For special usage cases where local usage is not blocked by the browser - use localfallback=none - see here:I build a mobile application by phonegap and krpano 1.19-pr4.
I test my app in ios 9 and android 5 and every thing was fine.
but when i test my app in android 4.3 , i get this error :
Local usage with file:// urls is limited due browser security restrictions!
Use xml=null in the embedding and in the onready callback call the loadxml() action to pass an inline xml as string.Can i embed XML content directly inline of HTML file against importing XML file?
No, there was a bug in pr3, it might have looked it worked because it was matching your current setting, but it wasn't correctly working - pr4 is correct now - see the note in the documentation about using if on includes - 'the variables in the if check need to be defined before the current xml gets loaded':It worked in pr3. Is it a bug or my coding?
'the variables in the if check need to be defined before the current xml gets loaded':
Benutzerinformationen überspringen
Beruf: krpano freelancer || creating ideas & coding them || krpano developer
Thank you Klaus for explanation.For special usage cases where local usage is not blocked by the browser - use localfallback=none - see here:
Hi,
about the bug reports - they are on my list for checking, I will answer here when I know more.
Best regards,
Klaus
Benutzerinformationen überspringen
Wohnort: Mexico City
Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer
Which evokes my question oddly enough I can make it work with Mozilla firefox and not with Internet Explorer. Is this normal ?Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »aelboudali« (20. April 2016, 13:27)
KR Pano ! The default setting was changed from 'moveto' to 'drag' (previously named 'drag2d') - and because of the renamed value the switch() action call in the older vtourskin.xml don't work and need to get updated.Apparently, "Change Controlmode" has no effect in virtual tours. With normal panos it works as expected.