Videoplayer: still image? preview? progress bar?

  • Hello,

    I have some buttons the user can select/deselect and then the videoplayer will be dynamic included with the parameters videourl, width, height

    Code
    <action name="videoon">
    addplugin(video);  
    set(plugin[video].align,center); 
    set(plugin[video].loop,false);
    set(plugin[video].zorder,0);
    set(plugin[video].videourl,%1);
    set(plugin[video].url,%SWFPATH%/plugins/videoplayer.swf);
    set(plugin[video].width,%2); set(plugin[video].height,%3);
    set(plugin[video].onclick,togglepause());
    </action>

    Works off line very well. The greatest test-video has a document size of more than 5 mb. On the server the user see nothing during loading the video.

    The soundplayer-plugin has the attribute preloadsound(xxx)

    I'm looking for a similar solution:

    either when the main panorama ist loaded and also the videoplayer-plugin self then they should be a preload-action for the video files.

    or after the onclick-event on one of the button the user should see
    - a still image (or the the first frame of the video)
    - the progress bar

    I tried to add the two set-commands in the code above, but it don't seems to work.
    set(progress.showload,bar);
    set(progress.showwait,loopings);

    Any ideas?

    Thanks Karl

    Edited once, last by Karl (July 15, 2009 at 12:14 AM).

  • Hi,

    Works off line very well. The greatest test-video has a document size of more than 5 mb. On the server the user see nothing during loading the video.

    hmm, maybe that is a server problem, normally videos are streamed...

    do you know what server?
    maybe the gzip-compression was not disabled for .flv files...


    Quote

    I tried to add the two set-commands in the code above, but it don't seems to work.
    set(progress.showload,bar);
    set(progress.showwait,loopings);

    that should work normally,


    do you have a link to the example?

    best regards,
    Klaus

  • Hi Klaus,

    Quote

    hmm, maybe that is a server problem, normally videos are streamed...

    do you know what server?
    maybe the gzip-compression was not disabled for .flv files...

    in the moment it's not possible for me to get an answer about the server compression settings.

    I asked some friends to try it from far away with different results:
    - no time between buttonclick and the beginn of the video
    - the video will be long in coming

    You can try the beta by yourself
    http://www.burg-halle.de/~schikora/0310…pano/index.html

    Additional information (in german)
    http://www.burg-halle.de/~schikora/031010/

    Next question: it is a flat-pano with fov="1". Do you have any ideas how to show the pano at the beginning with the overall width (lenght over buffers of the steam engine) an not with the overall height? In the final release of 1.0.8?

    Thanks Karl

  • Hi,

    in my test:
    the 5269kb/s videos needs 1-2 seconds before the videos appears,
    the 2644kb/s video is here intermediately,
    the 3526kb/s video too,
    (all test when the loading of the pano itself was already done)

    Next question: it is a flat-pano with fov="1". Do you have any ideas how to show the pano at the beginning with the overall width (lenght over buffers of the steam engine) an not with the overall height? In the final release of 1.0.8?

    at the moment, this can be only done manually via setting the viewing range,
    e.g.

    Code
    <view limitview="range" hlookatmin="-0.5" hlookatmax="-0.5" vlookatmin="-0.4" vlookatmax="+0.4" />

    here is a direct link to your example with these settings:
    http://www.burg-halle.de/~schikora/0310….vlookatmax=0.4

    the next release will have an automatic mode for that,

    best regards,
    Klaus

Participate now!

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