![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Hi
Does anyone know about the way the hotspottype node is used in the themes xml to produce the output xml as 'hotspottype' is not standard krpano xml?
For example, in one of my themes:
<hotspottype default="pano" nbfile="1" devices="desktop" file="hotspots/video.png" >
<translation>
<caption lang="fr" text="neutre"/>
<caption lang="en" text="video"/>
</translation>
</hotspottype>I would like to use the tag 'devices="desktop"' to stop this hotspot appearing on iDevices (as it is for video which doesn't play on iDevices), but PTP seems to translate the code in a way that doesn't transfer the devices tag to the output xml.
I guess the question is, how do I stop iDevice non-compliant hotspots appearing on iDevices? Without editing the <hotspot> node in the output xml that is?
Thanks
Mike
Offline
MikeMcFarlane wrote:
I guess the question is, how do I stop iDevice non-compliant hotspots appearing on iDevices? Without editing the <hotspot> node in the output xml that is?
Thanks
Mike
I know SWF custom point hotspot graphics are automagically changed to an animated GIF (black pulsing circles) in the i-Device compatible versions of tour made with 'mobile compatibility' enabled.
Perhaps some substitution is made for video type hostpots too?
What do you see on an i-Device with your video hotspots? Are you talking about rectangular hotspots with a video fill (Display/Object)?t
Last edited by mediavets (2011-03-09 18:01:44)
Offline
MikeMcFarlane wrote:
Hi
Does anyone know about the way the hotspottype node is used in the themes xml to produce the output xml as 'hotspottype' is not standard krpano xml?
I think this is custom Kolor XML that's parsed (and actioned) by PTP when generating krpano XML.
Offline
mediavets wrote:
MikeMcFarlane wrote:
I guess the question is, how do I stop iDevice non-compliant hotspots appearing on iDevices? Without editing the <hotspot> node in the output xml that is?
Thanks
MikeI know SWF custom point hotspot graphics are automagically changed to an animated GIF (black pulsing circles) in the i-Device compatible versions of tour made with 'mobile compatibility' enabled.
Perhaps some substitution is made for video type hostpots too?
What do you see on an i-Device with your video hotspots? Are you talking about rectangular hotspots with a video fill (Display/Object)?t
Hi Andrew
I've swapped all animated hotspots for animated GIFs so they should be OK.
I don't understand what you mean by a 'rectangular hotspot'. I meant a hotspot that will trigger video, in the flash version. On an iDevice you can still see the hotspot, but if you tap it then nothing happens, so to avoid confusion/frustration I don't want to show a hotspot at all.
By including 'devices="desktop"' in the buttons plugins (in the themes>menu xml) I can stop non-functioning buttons showing on an iDevice, e.g. turn hotspots on/off or e-cards.
Probably as you stated in another post, it is custom xml so I will need to edit the code by hand at the end.
Although, reading the krpano documentation I did see mention of definable 'styles' so it may be possible to define a style for iDevice code????? From http://www.krpano.com/docu/xml/
<style name="style1" alpha="0.5" scale="0.5" ... /> <plugin name="p1" ... style="style1" /> <plugin name="p2" ... style="style1" /> <hotspot name="h1" ... style="style1" />
So much to learn:-)
Thanks again for your advice.
Mike
Offline
MikeMcFarlane wrote:
I've swapped all animated hotspots for animated GIFs so they should be OK.
Animated GIFs do not animate when displayed in the Flash version of krpano/PTP tours.
If you want animated hotspot graphics that will work the same way in both the Flash and i-Device versions of a 'mobile compatible' tour then you need to create those hotspot graphics in a theme using the same method as is used in the default PTP themes.
I don't understand what you mean by a 'rectangular hotspot'. I meant a hotspot that will trigger video, in the flash version. On an iDevice you can still see the hotspot, but if you tap it then nothing happens, so to avoid confusion/frustration I don't want to show a hotspot at all.
PTP supports three types of hotspot - polygon, rectangular and point - you can display video as a fill for rectangular hotspots (imagine a rectangukar hotspot drawn over a TV screen in a room in pano image) by selecting a video file as the hotspot Display/Object rather than as a Link/Object.
Last edited by mediavets (2011-03-09 19:43:46)
Offline
mediavets wrote:
MikeMcFarlane wrote:
I've swapped all animated hotspots for animated GIFs so they should be OK.
Animated GIFs do not animate when displayed in the Flash version of krpano/PTP tours.
If you want animated hotspot graphics that will work the same way in both the Flash and i-Device versions of a 'mobile compatible' tour then you need to create those hotspot graphics in a theme using the same method as is used in the default PTP themes.I don't understand what you mean by a 'rectangular hotspot'. I meant a hotspot that will trigger video, in the flash version. On an iDevice you can still see the hotspot, but if you tap it then nothing happens, so to avoid confusion/frustration I don't want to show a hotspot at all.
PTP supports three types of hotspot - polygon, rectangular and point - you can display video as a fill for rectangular hotspots (imagine a rectangukar hotspot drawn over a TV screen in a room in pano image) by selecting a video file as the hotspot Display/Object rather than as a Link/Object.
Morning
Sorry, my wrong words. I didn't mean animated GIFs as such, I meant as part of the PTP theme.
The hotspot type is point. In the tour I am working on I don't want the video playing all the time as it would distract from the tour imagery itself (landscape).
I'm looking at Google Maps integration today, but might come back to trying to define a style that would automatically exclude the non-functioning hotspots on iDevices. Will keep you posted.
Kind regards
Mike
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 |
