Posts by schwarzwaldbub

    Sehr gut, danke für den Tipp! Das habe ich prinzipiell probiert, aber der folgende Code wird nicht korrekt übersetzt:

    Code
    trace('<krpano>');


    Hier wird dann immer noch &lt;krpano&gt; statt <krpano> ausgegeben.
    Dein Hinweis hat mich aber nochmal darauf gebracht, das über einen Umweg zu lösen:

    Code
    <layer name="lt" html="&lt;" visible="false" />	
    <layer name="gt" html="&gt;" visible="false" />
    
    
    set(var_text, get(layer[lt].html));
    txtadd(var_text, 'krpano');
    txtadd(var_text, get(layer[br].html));
    
    
    trace(get(var_text));


    Das läuft nun soweit. Wobei das doch sicher eleganter geht, als zwei Layers zweckzuentfremden und das durch eine Variable zu wurschteln. Evtl über ein gethtml() oder gettext() oder sowas ...

    Perfekt wäre es jetzt noch, wenn er den Umbruch als Zeichen entsprechend interpretieren würde. Entsprechend meiner Pfusch-Lösung wäre das dann wie folgt - funktioniert aber leider noch nicht richtig:

    Code
    <layer name="br" html="&#13;" visible="false" />
    <layer name="br" html="[br]" visible="false" />


    *g*

    Hi, I want to get out a string with special characters, for example

    Code
    trace('<krpano>');


    But then I get an error: xml parsing failed.
    Is there a workaround to parse special characters like this:

    Code
    trace('&lt;krpano&gt;'); 
    trace(&lt;krpano&gt;); 
    trace(%3C,'krpano',%3E); 
    trace(converthtml('&lt;'));


    Any idea?
    Thanks.

    Hi Piotr,

    thank yor for your great update! *thumbsup*

    I have only a little problem: I am using the tooltip plugin (https://krpano.com/plugins/userplugins/tooltip/) for my skin and my gallery. After loading a scene with an ambient sound the tooltip position ist not over the current element (mouseover in skin or gallery), it appears at the position of the unvisible ambient sound in der panorama. Is there any solution to fix this?

    Best regards
    schwarzwaldbub

    Hi jeromebg,

    great plugin, thank you!

    I have only a little problem with using it in my projects. With including your script the plugin "WebVR" with the attributes "onentervr=..." and "onexitvr=..." is overwritten by your decrypted code.

    Is there an solution to use the attributes "onentervr=..." and "onexitvr=..." to add my own actions? Or is there any possibility to use new attributes (for example "onentervr_new=..." and "onexitvr_new=...") to add my own code?

    I need this to make unvisible/visible several of my hotspots by enter and exit the vr mode.

    Best regards
    schwarzwaldbub

    Hi Hernan,
    thank you for your great plugin! I like to use it in my projects.

    With the update from krpano 1.19-pr13 to pr14 I unfortunately have a problem. The albums don't keep folding out (with Windows 10, HTML5, all Browsers: FF, IE, Chrome). To show this I have links with the different krpano versions:

    http://www.foto5.de/example-auto-thumbs/krpano-1.19-pr13/
    http://www.foto5.de/example-auto-thumbs/krpano-1.19-pr14/

    Do you have any solution or update for this problem?

    Best regards from black forest
    schwarzwaldbub

    Hello Klaus,

    thank for the fantastic update and your great work! krpano is an important foundation of my profession.

    With the update from pr12 to pr13 I have detected a little problem: With starting VR-mode I like to align the styles of my hotspots. The following code has functioned bevor updating to pr13:

    Code
    set(style[skin_hotspotstyle].scale, 0.33);
    set(style[info].visible, false);

    Now I get the following message in the trace-box:

    Code
    WARNING: plugin[webvr]: set style[skin_hotspotstyle].scale=0.33 - 'style' is not an array! 
    WARNING: plugin[webvr]: set style[info].visible=false - 'style' is not an array!

    Is this ab bug or is there any other another workaround to solve this problem?

    Best regards
    Stefan