Maybe a little late but it might help some people here:
I've just finished developing a droplet for the flowplayer. Install the player as described on the webiste (
http://flowplayer.org)
$width = $width?$width:'425';
$height = $height?$height:'300';
$path = $path?$path:WB_URL.'/media/video/';
$output = '<a href="'.$path.$file.'"
style="display:block;width:'.$width.'px;height:'.$height.'px;"
id="player">
</a>
<script language="JavaScript">
flowplayer("player", "'.WB_URL.'/media/flowplayer/flowplayer-3.2.9.swf", {
clip: {
autoPlay: false,
autoBuffering: true},
onLoad: function() {
this.setVolume(50);}
});
</script>';
return $output;
Adjust the path to the flowplayer, done!
Call droplet with:
[[flashvideo?file=filename.flv]]
file: file name with extension (.flv) in folder 'media/video'.
Optional:
path: path to file with '/' at the end
width: width of video (in px) Default value: 425
height: height of video (in px) Default value: 300
Example:
[[flashvideo?file=test.flv&path=http://www.test.com/video/&width=320&height=200]]