Hi,
I would like to ask, how can delay the hotspot in the video?
This is my code
Code
<!-- Check -->
<krpano>
<include url="addons/webvr.xml" />
<plugin name="WebVR" keep="true" devices="html5"
mobilevr_support="true"
mobilevr_fake_support="true"
onavailable="webvr_onavailable();"
onentervr="webvr_onentervr();"
onexitvr="webvr_onexitvr();"
/>
<plugin name="gyro" devices="html5" keep="true" url="addons/gyro.js" enabled="true" camroll="true" friction="0.0" touch_mode="full" sensor_mode="1" autocalibration="true" onavailable="" onunavailable="" onenable="" ondisable=""/>
<include url="addons/contextmenu.xml" />
<control mousetype="drag2d" />
<view fovtype="VFOV" fov="90" fovmin="40" fovmax="150" />
<plugin name="webvr_exitbutton" keep="true" vr="true"
url="img/computer.png"
align="top" y="24"
autoalpha="true" alpha="0.0"
onclick="webvr.exitVR();plugin[video].pause();plugin[video2].pause();plugin[video3].pause();"
/>
<plugin name="webvr_cardboardbutton" keep="true" vr="true"
url="img/cardboard.png"
align="top" y="24"
autoalpha="true" alpha="0.0"
onclick="webvr.enterVR();plugin[video].play();plugin[video2].play();plugin[video3].play();"
/>
<plugin name="webvr_mankind" keep="true" vr="true"
url="img/mankindvr.png"
align="centercenter"
autoalpha="true" alpha="1.0" scale="1.0"
onloaded="if(ismobile,set(scale,1.0));" />
<plugin name="webvr_logo" keep="true" vr="true"
url="img/mankind.png"
align="centercenter"
autoalpha="true" alpha="0.0"
/>
<plugin name="webvr_setupbutton" keep="true" vr="true"
url="img/setup.png"
align="bottom" y="24"
autoalpha="true" alpha="0.0"
onclick="vr_setup()"
/>
<plugin name="webvr_enterbutton" keep="true" vr="true"
url="img/start.png"
align="bottom" y="75"
autoalpha="true" alpha="1.0" scale="1.0"
onloaded="if(ismobile,set(scale,1));" onclick="webvr.enterVR();plugin[video].play();plugin[video2].play();plugin[video3].play();" />
<plugin name="video" url.flash="addons/videoplayer.swf" url.html5="addons/videoplayer.js" videourl="video/intro.mp4" loop="false" pausedonstart="true"/><image><sphere url="plugin:video"/></image>
<style name="arrowspot" url="img/pin.png" distorted="true" vr_timeout="1000" oy="0" scale="0.5" />
<hotspot name="startingpoint" distorted="true"
ath="-367" atv="-3" depth="10000"
style="arrowspot"
onclick="changepano(loadpanoscene('addons/tour.xml', 0, null, NOPREVIEW|MERGE|KEEPVIEW|KEEPMOVING, BLEND(1)););"
onover="tween(alpha,1);tween(scale,1);"
onout="tween(alpha,0.3);tween(scale,0.5);"
/>
<action name="changepano">
for(set(i,0), i LT hotspot.count, inc(i),
if(hotspot[get(i)].style == 'thumb', set(hotspot[get(i)].enabled, false););
if(hotspot[get(i)].name != 'vr_cursor', tween(hotspot[get(i)].alpha, 0.0, 0.5););
);
delayedcall(0.25, %1;);
</action>
</krpano>
Display More