Extension:FLVPlayer

The FLVPlayer extension allows the display of flv movies within a wiki using the FlowPlayer FLV movie player.

Attribute Reference
The following attribues are a subset of the configurable flashvars that is used by FlowPlayer.


 * width=px or % (Specify the width of the movie when displayed)
 * height=px or a% (Specify the height of the movie when displayed)
 * loop=true/false (Loop the movie, default:true)
 * autoplay=true/false (Automatically start playing the movie, default:false)
 * hidecontrols=true/false (Hide the controls of FlowPlayer, default:false)

Examples
This starts playing the movie as soon as it is available for streaming and does not show any FlowPlayer controls to the user.

This automatically sets the movie in looping mode as soon as it starts playing.

Installation

 * 1) Download the latest version of the code
 * 2) Copy the code into a file named FLVPlayer.php
 * 3) Save the file in the extensions/flvplayer directory of your mediawiki folder
 * 4) Add the line   to the end of your LocalSettings.php file (The name of your file is case sensitive!)
 * 5) Download the latest Flowplayer file from sourceforge.net (not newer than 1.8)
 * 6) Extract FlowPlayer.swf from the zip file and place it in the extensions/flvplayer directory of your mediawiki folder

Now you can use the extension with  ...  in the wiki.

I can't upload Flash movie (*.flv) files!
If you cannot upload anything, then first enable uploads. Find the line  in LocalSettings.php and uncomment it.

Notice : Line became. Must be set to 'true'. (v1.9.3)

By default, Mediawiki still blocks many files from being uploaded for security reasons. Add this line your LocalSettings.php file, which will allow the upload of FLV files:

See also Help:Images and other uploads: You may also need to remove the desired extension from the filetype blacklist in .

There may also be an issue with the Mime Type Filter. If you still cannot upload flv files, try adding $wgVerifyMimeType= false; in LocalSettings.php.

As an alternative, you can modify the script to allow you to link to outside flv files: Now you should be able to write: http://path.to.server/filename.flv