Hi
i make VR Stereoscopic Tour for Gear VR
i have 3 fix panoramas areas A, B and C
Each panoramas have 2 hotspots to go A->B A->C , B->A B->C ....
And when i click on hotspot i lauch video 360 VR stereoscopic for transtision between AB
i have 6 transitions 360 VR for 3 areas ABC
KRPano no unload the 360 VR video :( i search solution to unload or disable or hide at the end of video.
Détails:
on Area A, the Hotspot B:
Code
<scene name="panoA">
<preview url="panoA_L.tiles/preview.jpg" />
<image stereo="true" stereolabels="L|R">
<cube url="panoA_%t.tiles/pano_%s.jpg" />
<cube url="panoA_%t.tiles/mobile_%s.jpg" devices="iOS" />
</image>
<hotspot name="TransB" distorted="true"
url="targetB.png"
ath="-78" atv="8"
depth="4000"
vr_timeout="2000"
zorder="99"
onclick="set(enabled,false); tween(ty|alpha, 800|0.0, 2.0, easeInQuint, removehotspot(TransB)); delayedcall(2.0,start_TransAB());"
alpha="0.0"
onloaded="if(start_TransAB_done === true, removehotspot(TransB); start_TransAB(); , tween(alpha,1); );"
/>
<hotspot name="TransC" distorted="true"
url="targetC.png"
ath="-140" atv="16"
depth="4000"
vr_timeout="2000"
zorder="99"
onclick="set(enabled,false); tween(ty|alpha, 800|0.0, 2.0, easeInQuint, removehotspot(TransC)); delayedcall(2.0,start_TransAC());"
alpha="0.0"
onloaded="if(start_TransAC_done === true, removehotspot(TransC); start_TransAC(); , tween(alpha,1); );"
/>
</scene>
<action name="start_TransAB">
loadpanoscene('panos/transi_AB/transiAB.xml', 0, null, NOPREVIEW|MERGE|KEEPVIEW|KEEPMOVING, BLEND(1)); );"
</action>
<action name="start_TransAC">
loadpanoscene('panos/transi_AC/transiAC.xml', 0, null, NOPREVIEW|MERGE|KEEPVIEW|KEEPMOVING, BLEND(1)); );"
</action>
Alles anzeigen
The XML for 360 VR AB
Code
<plugin name="video" keep="true"
url.flash="%SWFPATH%/plugins/videoplayer.swf"
url.html5="%SWFPATH%/plugins/videoplayer.js"
videourl.no-ios="transAB60.mp4"
videourl.ios="transAB60.mp4"
loop="false"
pausedonstart="false"
visible="true"
use_as_videopano="true"
onvideocomplete="start_stopAB();loadpanoscene('panos/pano_B/tour.xml', 0, null, NOPREVIEW|MERGE|KEEPVIEW|KEEPMOVING, BLEND(1));"
/>
<events name="video_events" devices="mobile.or.tablet" keep="true"
onmousedown="video_auto_start();"
onremovepano="if(xml.scene != video_scene, plugin[video].seek(0); plugin[video].pause(); );"
/>
Alles anzeigen
The problem actualy if i click on other hotspot KR Pano alway play the last video 360 transition
My question what is the best solution to use 360 Video VR transition in VR Tour ?
Thank you so much for your help im very sorry for my bad english im french