|
Cookbook /
FLVPlayerSummary: Embedding of Flash video (.flv) files into wiki pages the easy way.
Version: 2011-02-20
Prerequisites: pmwiki-2.1.x
Status: initial release
Discussion: FLVPlayer-Talk
Questions answered by this recipeHow can Flash video (*.flv) files easily be embedded into wiki pages? DescriptionBy installing this recipe, any link ending in This recipe is based on the swf.php script from the Flash recipe. InstallationDownload the FLVPlayer.zipΔ package, unpack it to the cookbook/ directory so that the flv.php file and the flvplayer/ directory are placed in the cookbook/ directory. include_once("
UsageIn your wiki page use %width="XXXpx" height="YYYpx"%Attach:my_video.flv
To center the Flash object use %center%%width=XXXpx height=YYYpx%Attach:my_video.flv.
Upload your .flv file so that it will be found by the link in your wiki page. If you want a start image shown in the player, put it in the same directory as your .flv file and name it with the full filename of that .flv file including the .flv extension plus a .png extension (e.g. .flv file: my_video.flv; start image file: my_video.flv.png ). The ConfigurationThe configuration parameters for the FLV player are located together with the player itself (file "player_flv_maxi.swf") in the file "player_flv_maxi.xml" in the cookbook/flvplayer/ directory. That file can be edited with any appropriate text editor. For the meaning of the parameters see the FLV Player (Maxi version) documentation(approve links). There is also a generator(approve links) where one can configure a player online and then obtain the corresponding xml content. NotesIf a start image is created and located as explained above it is shown in the player until the "Play" button is pushed (or one clicks into the player) and the .flv file starts loading. During the beginning of the file loading, the player shows a blank window. Change log / Release notes
CommentsSee discussion at FLVPlayer-Talk User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |