Gallery:模块:flashvideo
FlashVideo Module
Description
Adds support for Flash Video (flv) files to be shown in an embedded player.
Features
- No special player needed, browser just needs flash support.
Usage
- Install and activate the module in site admin -> plugins
Parameters
For expert users: If you want to manipulate code to change the way the player is called, you can do it by editing the file classes/FlashVideoRenderer.class in the flashvideo module directory. Here is a complete list of all parameters:
flvUrl - full url to the flv thumbUrl - full url to preview thumb title Width Height htmlDiv - containing/target div for resizing. allows for multiple instances on one page - default flashvideo sb - short primary buffer default 10 lb - longer secondary buffer default 20 allowDl - allow download? true/false (shows/hides download button) langDownload - tooltip Download langLarge - tooltip Large langNormal - tooltip Normal
Pitfalls
If video files with flv extension do not play in the embedded player, try swf files instead of flv.
In version 1.0.0, but not any more in 1.0.2, you might need to edit the movie size to the actual value instead of default 0 x 0 to have the embedding actually work. You have to go through every movie item manually. Thumbnails are not generated. On the other hand, if you use ffmpeg plugin, you can have thumbnails but propably not for flash-video. For other video formats shure, but then you don't have the handy embedded flash player.
Notes
- Convert (transcode) AVI, MPEG, Quicktime, WMV to Flash Video (flv) format with this free tool:
- If you need to convert large numbers of files, try MediaCoder (GPL, Windows):
- SWF author's web (Wayne Patterson) and chapter for Gallery2 flashvideo module