pano image flickering before/after videoplayer plugin is used

  • Hi all,

    I'm stuck at this point and I really need some help to resolve the issue:

    When I play the video from one pano to another pano using loadpano(), I get this flickering image from the first pano after the video is done playing when the second pano is loaded... So I would click the hotspot to play the video using videoplayer plugin -> the video will play -> when the video is done (onvideocomplete) playing, loadpano(secondpano.xml) is loaded -> but I get the image from first pano for 0.5 seconds and the preview image for second pano is loaded.

    The sample code follows:


    <action name="play">
    moveto(230,2,smooth(320,-320,70));
    addplugin(m);

    set(plugin[m].url, videoplayer.swf);
    set(plugin[m].videourl, video.flv);

    set(plugin[m].loop, false);
    set(plugin[m].onvideocomplete, loadpano(next.xml));
    set(plugin[m].visible, true);
    </action>


    I think I can resolve the issue by using onvideoready, wait, or some other functions, but so far none of them worked. How could I smoothly make a transition from one pano to another pano, without any blinking images?


    In a huge hurry... but thanks in advance,

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!