![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Hello!
I have used the little planet effect. It looks great on internet but it looks weird on iphone/ipad devices. I know it is not possible to see it on these devices because it's a flash thing but does anyone know if and HOW can I make it not play the little planet effect when seen by iphone/ipad? When it detects iphone/ipad devices to start the panorama without the effect.
thanx in advance
Argiro
Offline
yes, using the planet intro results in starting the tour looking at the floor on html5 devices as planets do not work on non-flash, disabling planet intro for html5 should prob be default behavior
to fix it, you need to set different starting view per device type via the krpano device attribute
http://krpano.com/docu/xml/#devices-notes
this is from a krpano project, but similar code should work for ptp
<!-- HTML 5 intro - no planet -->
<view
devices="html5"
hlookat="0"
vlookat="0"
maxpixelzoom="1.0"
fovmax="110"
/>
<!-- little planet intro - flash only -->
<view
devices="flash"
stereographic="true"
fisheye="1.0"
fov="155"
fovtype="VFOV"
fovmax="150"
hlookat="0"
vlookat="90"
/>
<!-- ETC -->just add the device attribute as show to the appropriate xml elements as needed
sam
Last edited by Sam Rohn (2012-09-30 12:15:34)
Offline
Thank you very much for you reply and the code!!!![]()
I'll try it and let you know what happened.
Argiro
Offline
Hello Sam,
I've tried the code but unfortunately nothing happened. I'm quite new to all these. Do I have to put the code somewhere specifically in the xml? Or do I have to replace some of the code with the new one?
Thank you again for your help
Argiro
Offline
sorry, this was not meant as a cut and paste solution, you would probably need to be a bit familiar w modifying krpano code to figure out exactly what needs to be changed, panotour little planet intro code is laid out bit differently then the way i have been doing things in single pano krpano projects...
but the device tag and alt starting view for html5 is the way to fix it, perhaps someone more familiar w modifying ptp than myself could come up with a working fix, disabling planet intro on html5 should be built into ptp templates so maybe if you report this as a bug they can get it fixed in next release
sam
Last edited by Sam Rohn (2012-10-03 06:55:17)
Offline
yes the copy paste didn't work but I tried several things and finally I made it work. Thank you very much for your help and the great starting point to the solution ![]()
Argiro
Offline
Argiro, mInd sharing what you did to solve it? Thank you
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
