Beiträge von Roman_P

    Hi Klaus! I have a question about videohotspot playback behavior: I need to look_play() executes only once, how can I achieve this? And I have a little bug with playback: when I'm watching video second time and pausing playback after resume playback resets instead of continuing.


    <events onviewchange="if(hotspot[videospot].ispaused, look_play());"/>


    <action name="look_play">
    if(view.hlookat GE 240,hotspot[videospot].togglepause(););
    if(view.hlookat LE -20,hotspot[videospot].togglepause(););
    </action>

    <hotspot name="videospot" devices="all"
    url="plugins/videoplayer.swf"
    keep="false"
    ath="-66.5209546227529" atv="23.724131255666126"
    zoom="false" distorted="true" details="8" flying="0"
    width="200" height="120"
    scale="1.1576834753657954"
    rx="23.75" ry="16.25" rz="1.4408785922601488"
    edge="center"
    visible="true" enabled="true"
    onhover="if(ispaused, showtext(click to play), showtext(click to pause));"
    onclick="if(ispaused, play(), pause());"
    directionalsound="true"
    loop="false"
    pausedonstart="true"
    posterurl="poster.jpg"
    totaltime="6.006"
    updateeveryframe="true"
    videourl="cats-short.flv"
    volume="0.1"
    />

    Klaus, many thanks for council with hotspots. All has earned


    Now, the question is how to make spot to be led to the 3D tour?

    Code
    onclick="looktohotspot(get(name)); loadpano(home3d.xml, null, MERGE, BLEND(1));"/>


    What format the filesystem should be?
    And how to make loadable tour be displayed with the original settings?
    Thanks in advance
    Roman.