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 Fandom, Inc. Some code cleanup was done by Łukasz 'TOR' Garczewski and Bartek Łapiński for Fandom, 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) Write the code for supporting 5min.com, Nicovideo and Tangler.com
 * 2) If a video is embeded in a page and this page is later transcluded, it only shows a link to Video:foo and not the embeded video.

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!