Hi Klaus what do you mean by preloading the video player exactly ? (how)
I would like precisely to replace the black preview image (the preload="true" works for it, it appears before anything else) with the video (plugin[intro]) but it doesn't work for me.
it only work onloadcomplete and i spend some introduce time.
I have seen a description from Michel but it doesn't work exactly as i would like, i don't want to see one second from the pano at beginning before my video.
is it possible to do that inside krpano.
Thank you
JPC
<events onloadcomplete=
"playsound2D(s1,spots/jeuxdeau.mp3,1.0,0.0,0);
plugin[intro].play();
delayedcall(15,playvideobienvenu();tween(plugin[intro].alpha,0,7);set(plugin[intro].enabled,false);action(autotourintro););set(plugin[previewimage].enabled,false);tween(plugin[previewimage].alpha,0,1.3, easeInOutCubic);"/>
<plugin name="previewimage"
zorder="2"
url="spots/previewimage.png"
align="center" width="100%"
height="100%" preload="true" />
<!-- videointro -->
<plugin name="intro" zorder="1" url="videoplayer.swf"
alturl="videoplayer.js"
pausedonstart="true"
volume="0" loop="false"
keep="true"
videourl="spots/Eric_Chauvin_Intro_v03.mp4"
altvideourl="spots/Eric_Chauvin_Intro_v03.mp4"
align="center" x="0" y="0" width="100%" height="prop" alpha="1"
onclick=
"tween(alpha,0,3);set(enable,false);
delayedcall(3,stop());
tween(sound[s1].volume,0.05,5,easeInOutCubic);
action(playvideobienvenu);
set(stepintro,1);
action(autotourintro);
set(plugin[previewimage].enabled,false);
tween(plugin[previewimage].alpha,0,1, easeInOutCubic);"
onvideocomplete="delayedcall(3,tween(sound[s1].volume,0.05,2,easeInOutCubic));set(visible,false);set(enabled,false);"
capture="false" preload="true"/>
Display More