FLV Player

From PaulGuWiki

Jump to: navigation, search


 

Contents

MediaWiki Skin Questions and Comments

Any questions, concerns, and comments

Please feel free to post to MediaWiki Community Forums to receive a quick answer. Your support is important, please tell me what you think.


MediaWiki FLV Player Highlights

Here is the list of Highlights:

  • Add FLV video anywhere in the article
  • Add cover image for each video
  • Resize player window according to your needs
  • Contol auto start
  • Control volume
  • Control the position of the player
  • Add your own logo (best size is 32x32 pixels or less)
  • Files can be uploaded through MediaWiki
  • Files can be absolute path (case sensitive)

MediaWiki FLV Player Control Parameters

The following are default parameters, they can be overwritten through syntax <wikiflv></wikiflv>.

  • whatever.flv|whatever.png
  • width="320"
  • height="180"
  • position="none"
  • autostart="true"
  • logo="true"
  • autostart="false"
  • volume="100"
  • repeat="false"

MediaWiki FLV Player Demos

MediaWiki FLV Demo 1

<wikiflv width="150" height="90" position="left"></wikiflv>

Get Adobe Flash player


Here is the text that explains something about this video.

MediaWiki FLV Demo 2

<wikiflv></wikiflv>

Get Adobe Flash player

MediaWiki FLV Demo 3

<wikiflv width="300" height="180" logo="true" position="right">honda_accord.flv|honda_accord.png</wikiflv>

Get Adobe Flash player


Here is the text that explains something about this video.

MediaWiki FLV Demo 4

<wikiflv width="450" height="270" logo="true">honda_accord.flv|honda_accord.png</wikiflv>

Get Adobe Flash player

MediaWiki FLV Demo 5

<wikiflv>/videos/Wonderwall_by_Oasis.flv|/videos/Wonderwall_by_Oasis.jpg</wikiflv>

Get Adobe Flash player

MediaWiki FLV Player Download

Source code

MediaWiki FLV Player Installation

Installation

  • Add line below in config file LocalSettings.php
include_once('extensions/wikiFlvPlayer/wikiFlvPlayer.php');


MediaWiki FLV Player Configuration

The following variables need to be added inside LocalSettings.php

$MW_FLV_LOGO = "your.logo.file"; // your logo displayed on Flv player, best size is 32x32 pixels or less.

How to use MediaWiki FLV Player

  • Upload the Flv file and jpg file accordingly, you can do following
    • Upload through mediawiki
    • Upload to a folder through ftp client (e.g. FileZilla client)
  • Use the syntax like this
    • Use mediawiki upload: <wikiflv>FLV_FILE_NAME.flv|IMAGE_FILE_NAME.png</wikiflv>
    • Use absolute path: <wikiflv>/video.file.path/FLV_FILE_NAME.flv|/image.file.path/IMAGE_FILE_NAME.png</wikiflv>
    • You can mix them too: <wikiflv>/video.file.path/FLV_FILE_NAME.flv|IMAGE_FILE_NAME.png</wikiflv>
  • Enjoy your own video on your wiki

FAQ

I can't upload any files

If you cannot upload anything, then first enable uploads. Add this line in your LocalSettings.php file, which enables upload in mediawiki:

$wgDisableUploads = false;

If you can find #$wgDisableUploads = false; in LocalSettings.php a, then uncomment it.

Allow the upload of FLV files

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

$wgFileExtensions[] = 'flv';

Mime Type

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

$wgVerifyMimeType = false;

File size over the maximum allowed

This usually is the setting in php.ini, find line upload_max_filesize = 2M, then change it to bigger size.


 


modified on 26 September 2009 at 13:36 ••• total 39,416 views ••• Top