Extension:FramedVideo

FramedVideo extension allows embedding videos from 39 video hosting services.

FramedVideo is based on Video Flash extension by Alberto Sarullo, which is based on YouTube extension by Iubito.

Note for real programmers: This extensions has a really ugly code. It's author is not a PHP programmer but just a guy who really needs this extensions for his website. But hey, this extension works.

What can this extension do?

 * Handle videos from 39 video hosting services.
 * Put them into frames that MediaWiki uses by default to show images.
 * Provide wikitext-supporting description below videos.
 * Scale all video (default width and height values are stored in the extension core).
 * Set some global variables for configuration around the whole wiki.
 * Handle all errors user may cause.

What can't this extension do?

 * Validate values of id parameter. Videos just won't be loaded if a video id is not valid. A few services show some error messages for invalid id's, most do not.

Download instructions
The latest version of this extension can be downloaded from ftp. Download files  and. Create  directory and copy there both files.

Installation
To install this extension, add the following to LocalSettings.php:

Usage
Full syntax:

  

Usual syntax:

  

Dailymotion and Vimeo requires height2 parameter for proper scalling.

Configuration via MW messages
When installing, the default English messages are used (but see supported languages for more). If you translated this messages into your language, please put them in |talk page and claim that you relased it under GPL terms.

Some configuration can be done via MediaWiki messages. Here's the full list of messages that extensions creates (they do not exist here and will apear when you done installation):

Supported languages
This languages are supported when handling user's errors. Extension will work well with any wiki language. You can help with translation.
 * English
 * Polish

Extension compatibility
This extension will not work with EmbeddedVideo extension since their using the same tag. If you already have EmbeddedVideo installed on your wiki, you can change the following line in :

to:

and use tag for embedding throught FramedVideo. Or you can change it to whatever you want.

Video services issues
The following services videos aren't scalable at all (using size="full" is recommended):
 * Break
 * ClipShack
 * Comedy Central (requires widht and height parameters, videos has few sizes)
 * Interia (Znajomi)

The following services players are not fully scalable (tested on default width 270):


 * Gazeta.pl Wideo (progress bar gets extremelly small)
 * Shoutfile (progress bar and volume bar overlaps)
 * Viddler (progress bar looks bugged)

Bugs and contribution

 * If you find any bugs, please describe it on |talk page.
 * If you know any other video services that can be added to this extention, leave info on |talk page.
 * If you can help with translating MW messages into your language, please put them translated (check latest version of  for what needs translation) on |talk page and claim that you are releasing it under GPL terms.
 * If you had an idea on what more this extensions may do, well, you know where talk page is.

Changelog

 * v1.0.2 (17.08.2008) - Framedvideo_position and Framedvideo_force_position added (see Configuration via MW messages for more details), GodTube added
 * v1.0.1 (24.07.2008) - fixed XSS possibility
 * v1.0 (09.07.2008) - first stable release

Sites using this extension
If you are using FramedVideo, feel free to add your website here.
 * Filop

Other implementations

 * Video Widgets category on MediaWiki Widgets site (has all the widgets this extension supports and more)