Extension:InteriaVideo

This extension display videos from polish site Video - INTERIA.PL. Upload your videos to interia and then share them in your wiki !

View a demo at "Piotr Giza goal with Polonia Warszawa" on my wiki.

Based on GoogleVideo extension by Iubito.

Installation
Add this line at the end of LocalSettings.php : include('extensions/interiaVideo.php');

Copy the following code into extensions/interiaVideo.php : 
 * 6)   55037,468,376
 * 7) Enjoy !
 * 1) Enjoy !
 * 1) Enjoy !

$wgExtensionFunctions[] = 'wfInteriaVideo'; $wgExtensionCredits['parserhook'][] = array(       'name' => 'Interia Video',        'description' => 'Display Interia Video, based on Google Video extension by Sylvain Machefert',        'author' => 'Michal "Dinth" Gawronski',        'url' => 'http://meta.wikimedia.org/wiki/InteriaVideo' );

function wfInteriaVideo { global $wgParser; $wgParser->setHook('interiavideo', 'renderInteriaVideo'); }

function renderInteriaVideo($input) { $output = ' '; return $output; } ?>
 * 1) The callback function for converting the input text to HTML output

That's all :-)

Usage
Usage is as follows:  docid  If you use it on your wiki, please place somewhere link to www.wikipasy.pl, it.wikipasy.pl or en.wikipasy.pl depending on your wiki's language.