i misunderstood your question. here is what i use to play video in krpano. i choose to create the video plugin as it is requested. this code would be for an icon that is clicked and a video will pop with the onclick action.
<action name="videoon">
addplugin(avideo);
set(plugin[avideo].align,center);
set(plugin[avideo].edge,%5);
set(plugin[avideo].loop,false);
set(plugin[avideo].zorder,25);
set(plugin[avideo].videourl,%1);
set(plugin[avideo].url,%SWFPATH%/plugins/videoplayer.swf);
set(plugin[avideo].width,%2); set(plugin[avideo].height,%3);
set(plugin[avideo].rotate,%4);
set(plugin[avideo].onclick,togglepause());
set(plugin[avideo].onhover,if(ispaused, showtext(click to play), showtext(click to pause)));
</action>
<plugin name="video1"
url="video/artist1.jpg"
keep="true"
visible="true" enabled="true" handcursor="true"
zorder="25"
alpha="1.00" blendmode="normal" rotate="270"
smoothing="true"
origin="center" edge="center" x="80" y="-55" height="350" width="225"
scale=".40"
onloaded=""
parent="videob"
onhover="showtext(View Willie West on stage)"
ondown=""
onup=""
onclick="stopallsounds(); action(videoon,video/artist1.flv,300,400,270,left);"
/>