Beiträge von Garman

    Now hot spots are saved directly in the main xml file. By default it is tour.xmlThe plugin is linked to the mail specified in the license when purchasing krpano. You can not use the plugin in krpano with a different license.It is possible to create a backup copy of the file when saving tour.xml with the date and time in the name of this file (tour.xml - backup-2021.11.26-0.12.44.xml).Hot spots are registered inside the scenes and they are local with the meaning keep=false.The recording of the hotspots tag has been significantly reduced due to the absence of attributes prescribed in the style in the record.You can change, add your own attributes in the code and the changes will be saved.You can put comments and other code between hot spots.The ability to edit and save hotspots created by a non-plugin. For example, transition arrows between scenes. But saving only from the current scene. When switching to another scene, the changes will be reset.At startup, the plugin panel is partially expanded.Added a button that temporarily disables hotspot actions (onover, onout, onclick, ondown, onup,onhover). The actions prescribed for these events are not performed, which allows you to work safely with the hotspot (for example, when clicked, it won't send you to another scene).Minor changes and additions.Details here add hotspot

    thanks for anwser!!
    sorry I have another question here, how I update the add hotspot plugin version?

    should I buy krpano again? or I need to send license email to where ?

    I have a question here.
    I set a video hotspot on my project scene2, and then hotspot video name I change to TvVideo, the orginal is hotspot_01.

    between those two name different are the orginal one is autoplay when I get to scene2, but the other no worked.
    can you tell me why?

    here is my code
    <hotspot name="TvVideo" style="vid_hs_addhs" type="image" keep="true" url="%FIRSTXML%/plugins/videoplayer.js" distorted="true" enabled="false" visible="false" zorder="5"
    ath="-151.1728" atv="-3.2278" width="700" height="prop" rx="-3" edge="center"
    videourl="%FIRSTXML%/add_hotspot/video/test.mov"
    pausedonstart="true" loop="true" playbackrate="1" onvideoplay="set(hotspot[get(name)].play_vh,true);" autopause="true" autoresume="false"
    install_onclick="11" info_Ah="tv.mov" scene_EL="scene_000001" drag_hs="true" fov_EL="120" play_vh="true" enabled2="true" visible2="true"
    Vsound3D="false" volume_max="0.5" range_sound="90"
    onclick="togglepause(); if(hotspot[sound_hs_addhs], delete_sound_hs_addhs(); ); if(hotspot[get(name)].ispaused,set(hotspot[get(name)].play_vh,true);,set(hotspot[get(name)].play_vh,false); );"
    ondown="drag_LinkSM()"
    />

    HI, I'm new one I create one text hotspot and image hotspot

    here is my code


    I want to click the open image, and extend the text left to right, then the open image will change to close image. and the close image also can hide the text. I searched many threads still doesn't get it. pls help me.


    now did it, but I use two button(two image hotspot) on the same position. and use it to control text spot. I think this is a dumb methed.
    still can't control by 1 button

    js code like this


    Code
    function GetText(name,open,close){    //let _lang = language.getAttribute('data');    pano.call("tween(hotspot["+ name +"].alpha, 1 ,0.5)");     pano.call("tween(hotspot["+ name +"].height,150,0)");     pano.call("tween(hotspot["+ name +"].width,700,0.4)");     pano.call("set(hotspot["+ name +"].enabled,true)");    pano.call("set(hotspot["+ open +"].visible,false)");    pano.call("set(hotspot["+ open +"].enabled,false)");    pano.call("tween(alpha, 0 ,1)");    pano.call("tween(hotspot["+ close +"].alpha, 1 ,1)");    pano.call("set(hotspot["+ close +"].visible,true)");    pano.call("set(hotspot["+ close +"].enabled,true)");}


    Code
    function CloseText(name,close,open){    pano.call("tween(hotspot["+ name +"].alpha, 0 ,0.3)");     pano.call("tween(hotspot["+ name +"].width,0.4)");     pano.call("tween(hotspot["+ name +"].height,0)");     pano.call("set(hotspot["+ name +"].enabled,true)");    pano.call("set(hotspot["+ close +"].visible,false)");    pano.call("set(hotspot["+ close +"].enabled,false)");    pano.call("tween(alpha, 0 ,1)");    pano.call("tween(hotspot["+ open +"].alpha, 1 ,1)");    pano.call("set(hotspot["+ open +"].visible,true)");    pano.call("set(hotspot["+ open +"].enabled,true)");
    }


    and the animation is so lag, I don't know why?