Extension:GoogleVideo

This extension display videos from Google Video. Upload your videos to google and then share them in your wiki !

View a demo at Balkan Party 2006 on my wiki.

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

Copy the following code into extensions/googleVideo.php :  'Google Video',	'description' => 'Display Google Video',	'author' => 'Sylvain Machefert',	'url' => 'http://meta.wikimedia.org/wiki/GoogleVideo' );

function wfGoogleVideo { global $wgParser; $wgParser->setHook('googlevideo', 'renderGoogleVideo'); }

function renderGoogleVideo($input) { //$input = "6444586097901795775" $width = 425; $height = 350; $output = ' '; return $output; } ?>
 * 1) The callback function for converting the input text to HTML output

That's all :-)

Usage
Usage is as follows:  docid 