Posts by KiboOst

    I have problem with onvideocomplete: actually, nothing happend !

    Code
    <plugin name="video"
                	url.html5="%SWFPATH%/plugins/videoplayer.js"
                	url.flash="%SWFPATH%/plugins/videoplayer.swf"
                	pausedonstart="true" loop="false" volume="1.0" buffertime="1.0" playbackrate="1.0"
                	onloaded="add_video_sources();set(layer[skin_btn_vr].enabled,true);tween(layer[skin_btn_vr].alpha, 1.0);"
                	onvideocomplete="trace('end');loadscene(nextscene);"
        	/>

    What am I missing ? *cry*

    Can anyone enlighten me on how to set several videos scenes in same pano ?

    here is an example:

    First time I go to myVideo1 or myVideo2, all is good
    if I switch to the other video, the quality menu is empty !

    How can I reset the quality sub menu to add new sources ?

    What I can do:

    <scene name="myvideo" title="myvideo" onstart="set(skin_video_setup_done, false);skin_video_setup()">
    <events onremovepano="removelayer(skin_layer, true);" />
    -> then video title is loaded ok between videos, and the video player isn't shown anymore on other scenes
    But menu quality is still empty on second video scene loaded and up

    what does not work (change nothing):
    <include url="skin/videointerface.xml" keep="false"/>
    <plugin name="video" keep="false"
    <events onremovepano="removeplugin(video, true);" />

    Hi,
    I have a problem with a pano containing several video and several image (all 360 scenes)
    First time I load a video scene, I have the right sources (addsource) and right title
    Then I open an image scene: the video skin is still there !!
    then I load previous or another video scene: I have only the played source in the menu and no more video title on top of timeline

    What is the right way ?
    My video scenes are like in krpano-1.19-pr5\viewer\examples\videopano

    If I use this:

    <action name="buildframes">
    for(set(i,0), i LT %2, inc(i),
    txtadd(fname,frame,get(i));
    txtadd(furl,%1,get(i),.jpg);
    addplugin(get(fname));
    plugin[get(fname)].loadstyle(frame);
    copy(plugin[get(fname)].url,furl);

    set(plugin[get(fname)].visible,true);
    showframe(i);
    );
    set(currentframe,0);
    set(framecount,%2);
    set(oldmousex,0);
    showframe(0);
    </action>

    it preload each frames, so it doesn't flash. But it's slow to get interactivity at first ...
    looking at the code, it build one div per frame and show it. Maybe another approach changing url with one div would help ?

    Hi,

    Dunno if it is a feature or a bug, but something weird happens here (1.19pr3, html5)

    layer container1 zorder=1
    layer container2 zorder=5
    layer button zorder=10 parent=container1

    So, container2 is on top of container1, and my button, parented to container1 should be on top of both containers. It isn't ! container2 is on top of my button and my button doesn't capture mouse.

    if I parent my button to container2 it works, but placement and some actions need button parented to container1

    Is this a normal behavior ? Shouldn't all z-order be treated globally, independently of their parenting ?