Hi Tuur, thanks Virtual Pete,
indeed an old idea! Do you know any good examples to learn from? So far i don't know of an application where this was used succesfully.
For now we are aiming for the best solution on the krpano side of things, colors and a better compression of the video is for a later stage.
The idea:
Video is a hotspot which tweens from flying 0.0 to 1.0. In combination with the view turning to the hotspot, and zooming in a bit, this should bring us "into" the video before it starts.
Here are our main problems:
• Tweening the hotspot from flying 0.0 to 1.0 doesn't work. – Why is that?
• Could we avoid the short break before the video starts?
• Can videos be preloaded?
This i the hotspot:
<hotspot name="spot1" ath="7.318887760839004" atv="7.285376555512195" scale="1.015800000000001" rx="11.250000000000027" ry="-4.9499999999999975" rz="-4.099999999999993"
url="plugins/videoplayer.js"
videourl="videos/AC-gekuerzt.mp4"
distorted="true"
pausedonstart="true"
loop="false"
onvideoplay="set(playbackrate,2.0);"
onvideocomplete="wait(1); tween(alpha,0,1,1);"
Cheers!
capture="false"
alpha="0.0"
onclick="action(videostart-1);"
keep="true"
/>
<action name="videostart-1">
looktohotspot(spot1, 120, tween(easinquad,0.8),1 );
wait(0.3);
tween(alpha,1.0,1.0);
wait(0.3);
tween(flying,1.0,1.0);
wait(2.0);
play(AC-gekuerzt.mp4);
loadscene(scene_230614-pvp-03-10k); </action>