Extension:Video

Video is an extension that allows you to import videos from different video services, such as YouTube, DailyMotion or Metacafe. The extension adds two new special pages, Special:AddVideo, which all registered users or other users with 'addvideo' permission can access to add new videos to the site and Special:NewVideos, which lists all recently added videos. The extension also adds  parser hook tag.

Video additions are logged into the video log at Special:Log/video.

This extension was originally written by David Pean for Wikia, Inc. Some code cleanup was done by Łukasz 'TOR' Garczewski and Bartek Łapiński for Wikia, Inc. and by Jack Phoenix for ShoutWiki.

Supported video providers

 * 1) DailyMotion
 * 2) Gametrailers
 * 3) Google Video
 * 4) MetaCafe
 * 5) MyVideo
 * 6) Sevenload
 * 7) South Park Studios
 * 8) Viddler
 * 9) Vimeo
 * 10) WeGame
 * 11) YouTube

Usage
After adding a video through Special:AddVideo, you can embed it into an article by using the syntax  or.

To-do list/known bugs

 * 1) Make VideoPage::videoLinks actually work (Special:WhatLinksHere support)
 * 2) Write the code for supporting 5min.com, Blip.tv, Nicovideo and Tangler.com

Developer Info
Provider classes for different video hosting sites are stored in the  directory. Writing a new provider class is easy:
 * 1) copy the example provider class into the providers directory and name it accordingly (for example, )
 * 2) autoload the new provider class in Video.php
 * 3) add the provider to Video::$providers
 * 4) enjoy!