![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Hi, I'm struggling with HTML hotspots. When I enter some basic HTML (like basic format tags with text) into the HTML hotspot field, the result will usually crash the resulting pano with an IO error at startup. Looking at the xml, the html code for the hotspot looks like garbage. Comparing the xml to xml examples on the krpano site only reinforces this. I also get the feeling that using the textfield plugin for krpano gives more functionality when it comes to HTML, but I don't understand enough yet to really get my head round it.
I can't find any relevant forum posts or other web resources outlining how the HTML code for hotspots should work. Could someone please either point me to some resources or post:
- some simple HTML code they have inserted in Panotour Pro
- the resulting portion of XML
- and if possible a link to the pano where it is used
Thank you in advance.
Mike
Offline
I played with this very briefly long ago, as I recall what you need to enter is a link to a file that contains the HTML.
Obviously this file (and any other files it references, such as graphics) have to be placed 'sensibly' in the file system in relation to the other files created by PTP on exporting a tour and then have to be uploaded as well as other tour files and moust keep the correct relative positions in the file structure.
As I understand it this feature is essentially using the textfield plugin (but built into PTP).
It's quite a fiddle to use - if you only want something simple to appear it may be easier to create itr as a graphic? For what did you hope to use this feature for?
I don't know if the HTML feature works on iDevices .
Last edited by mediavets (2011-03-04 21:10:05)
Offline
mediavets wrote:
I don't know if the HTML feature works on iDevices .
HTML "features" work - as long as they don´t contain Flash . . . ![]()
best, Klaus
Offline
MikeMcFarlane wrote:
Hi, I'm struggling with HTML hotspots. When I enter some basic HTML (like basic format tags with text) into the HTML hotspot field, the result will usually crash the resulting pano with an IO error at startup. Looking at the xml, the html code for the hotspot looks like garbage. Comparing the xml to xml examples on the krpano site only reinforces this. I also get the feeling that using the textfield plugin for krpano gives more functionality when it comes to HTML, but I don't understand enough yet to really get my head round it.
I can't find any relevant forum posts or other web resources outlining how the HTML code for hotspots should work. Could someone please either point me to some resources or post:
- some simple HTML code they have inserted in Panotour Pro
- the resulting portion of XML
- and if possible a link to the pano where it is used
Thank you in advance.
Mike
There are two ways to approach things: learning the basics - which is difficult using apps without real documentation - or try and error in doing.
I´m trying, erroing and trying again for some years now - and slowly i get it. There´s no way around trying and erroing and learning by making mistakes.
Here in the forum you can find a lot of help and practical tips - look at the tips an links and try to being precise in naming what you exactly want or need.
Helping you is difficult otherwise.
best, Klaus
Offline
mediavets wrote:
I played with this very briefly long ago, as I recall what you need to enter is a link to a file that contains the HTML.
Obviously this file (and any other files it references, such as graphics) have to be placed 'sensibly' in the file system in relation to the other files created by PTP on exporting a tour and then have to be uploaded as well as other tour files and moust keep the correct relative positions in the file structure.
As I understand it this feature is essentially using the textfield plugin (but built into PTP).
It's quite a fiddle to use - if you only want something simple to appear it may be easier to create itr as a graphic? For what did you hope to use this feature for?
I don't know if the HTML feature works on iDevices .
Hi Andrew
That makes sense. I will give that a try tomorrow when my brain is awake again. Yes, I quickly got to understand that file/dir structure is very important to how krpano works.
There are a few concepts that I would like to try by embedding some html, but mainly it is just to provide more information to viewers with the option of links for further info. Nothing too complex, I am just trying to get my head around the basic functionality so I can make best use of it in the future. I love to learn, and hopefully when I know more to share:-)
Thanks for your help, will write an update tomorrow, including whether it works on Steveices.
Mike
Offline
klausesser wrote:
There are two ways to approach things: learning the basics - which is difficult using apps without real documentation - or try and error in doing.
I´m trying, erroing and trying again for some years now - and slowly i get it. There´s no way around trying and erroing and learning by making mistakes.
Here in the forum you can find a lot of help and practical tips - look at the tips an links and try to being precise in naming what you exactly want or need.
Helping you is difficult otherwise.
best, Klaus
Hi Klaus
Thank you also for your reply. Right now, I am just trying to learn the basics and it is difficult as you say without real documentation. I also don't know the right words/jargon/names, so it is difficult to search for information or to ask specific questions. And to be honest, I was slightly embarrassed to be asking such a basic question and I felt even more embarrassed to be too specific for fear of making myself look really stupid. Sorry.
Generally if I can get a pointer in the right direction I can figure it out from there. In this case Panotour documentation gives the impression that I should enter HTML into the HTML field, but as Andrew has pointed out, it should be a link to a file. I would never have thought to try that, but now I get the concept I will get stuck in.
Lots of trial and error. But that is the best way to learn right?
Kind regards
Mike
Offline
klausesser wrote:
mediavets wrote:
I don't know if the HTML feature works on iDevices .
HTML "features" work - as long as they don´t contain Flash . . .
best, Klaus
The Hotspot link to HTML feature won't work with iDevices because it uses the krpano textfield.swf plugin.
Offline
MikeMcFarlane wrote:
And to be honest, I was slightly embarrassed to be asking such a basic question and I felt even more embarrassed to be too specific for fear of making myself look really stupid. Sorry.
No, no - i know the state you´re in right now very well . . .
and felt the same. But as we say: "there are no stupid questions - only stupid answers" . . ;-)
I wasn´t ironic - it´s really the only way to try and fail . . . and get help. I had a lot of help here from the forum, to name for example Andrew, who´s very kind and patient.
When i know what you precisely need i can post some of my code as example - it´s very basic and mostly the code APT and PTP generate anyway and which i fine-tuned in the xml.
So don´t be shy to ask questions!
best, KLaus
Offline
mediavets wrote:
klausesser wrote:
mediavets wrote:
I don't know if the HTML feature works on iDevices .
HTML "features" work - as long as they don´t contain Flash . . .
best, KlausThe Hotspot link to HTML feature won't work with iDevices because it uses the krpano textfield.swf plugin.
Yeah - in that case it contains Flash . .
But the html-template which PTP generates works completely on iDevices.
(But i don´t the hack know how to adapt it to my needs . . ![]()
)
Panos and even tours work on iPads if they´re done with PTP and/or "make pano (multires) droplet" and "make vtour (multires) droplet".
The droplets produce code for both platforms and the panos work fine.
best, Klaus
Last edited by klausesser (2011-03-05 02:28:49)
Offline
Hi Andrew and Klaus
Thanks again for your considerate replies.
I got the HTML hotspots working as you described. Is just literally a case of dropping the HTML file into the pano dir and include the filename in the PTP HTML field. Simples.
Going to have a play with how far I can push the HTML now:-)
Thanks and 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 |
