Hello,
I have some buttons the user can select/deselect and then the videoplayer will be dynamic included with the parameters videourl, width, height
<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