Extension:VideoFlash

VideoFlash VideoFlash is an extension that displays videos from Youtube, GoogleVideo, Dailymotion, Sevenload, Revver and similar services based on FLV video format.

This extension is based on Extension:YouTube (Iubito) extension.

Source
Copy the following code into extensions/videoflash.php:

Installation

 * Create the file videoflash.php and paste the code shown above.
 * Upload videoflash.php to your $IP/extensions directory.
 * Add the following lines at the end of LocalSettings.php:

Youtube
Original url: http://www.youtube.com/watch?v=4lhyH5TsuPg

Wiki code:

4lhyH5TsuPg

or (with width and height):

WZpeeRSk-0A|200|100

GoogleVideo
Original url: http://video.google.it/videoplay?docid=1811233136844420765

Wiki code:

1811233136844420765

or (with width and height):

1811233136844420765|200|150

DailyMotion
Original url: http://www.dailymotion.com/video/xi23l_geris-game

Wiki code: 7fiHlJPCjcqK73xbb

or (with width and height):

7fiHlJPCjcqK73xbb|640|480

Sevenload
Original url: http://en.sevenload.com/videos/Eh4mjir/Bewegungen-der-Natur

Wiki code: Eh4mjir

or (with width and height):

Eh4mjir|640|480

Revver
Original url: http://one.revver.com/watch/138657

Wiki code: 138657

or (with width and height):

138657|640|480

MetaCafe
Original url: http://www.metacafe.com/watch/2387062/pump_it/

Wiki code: 2387062

or (with width and height):

2387062|640|480

Blip
Currently blip uses urls like: http://blip.tv/file/1490573 You cannot use the above ID with the code http://blip.tv/play/$someID which is used in this VideoFlash extension.

To get the correct ID to use click on 'embed' in Blip and extract the id used in the flash embed code



Wiki code: AdvpMQA

note: I don't know why Blip.tv uses different ID's in it's embed code as opposed to it's url. I suspect it may be changing over or something, which is why I haven't suggested editing the code of this extension to use the 'file' rather than the 'play' url for Blip.

Globo Vídeos (Brazil)
by alexandre260678@hotmail.com

Add the command line

the file videoflash.php

Copy the parameter midiaId



Wiki code: 1056877

History

 * 1.1 - 2007-03-24 - Added Revver support; fixed xss vulnerability (tnx Jimbojw)
 * 1.0 - 2007-01-23 - First release

MediaWiki Version

 * Successfully tested on MediaWiki 1.6.9, MediaWiki 1.8.4, and MediaWiki 1.9.3.

Other implementations

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

Wikis using videoflash
If you use this extension, please add your website here.
 * Klusopedia.nl A dutch wiki on home improvement and DIY tips & tricks.
 * Catallaxia.net
 * syn2cat Hackerspace Luxembourg
 * Smashball Player Guide
 * Geek My Ride
 * WikiMediation, le site des professionnels de la résolution des conflits
 * Wikipiada.com
 * Second Life Video Tutorials
 * WikiRides.com Automotive Enthusiast Wiki
 * expliki.org Knowledge about the borderlands of science. Example (german)
 * DharmaFlix.com Buddhist film video wiki
 * GreatCuba.com Cuba Travel Wiki
 * aessenet.org wiki
 * Quadratus.ws
 * Wiki in the Wii (of Nintendo)
 * xiandos.info (example)
 * Dikt (Norwegian)
 * German Green Party (Neustadt - Bremen) (and use "revverflash" to display videos from Revver - Example)
 * Wikiela - share your recipes and make money
 * Indian student wiki
 * MusicalWiki (Dutch)
 * The Internet Movie Firearms Database
 * Final Fantasy: One Winged Angel Wiki
 * gaystar ut2004 clan
 * WikiSwing
 * Ask in Wiki
 * Malay Computer Encyclopedia
 * Wikiants.org | d.i.y. Encyclopedia
 * Mod Mania
 * Physical Programming
 * Bal Vividha wiki - A Collaborative Initiative
 * JerezSiempre.com Jerez de la Frontera Wiki
 * Wikidebrouillard.org Le wiki d'expériences scientifiques de la vie quotidienne en vidéos !
 * Nieuwe Geletterdheid (Dutch educational wiki)
 * Documentazione Paghe Pro (Italy)
 * ClassicKidsTV.co.uk
 * FRC:Wiki
 * Scoutopedia
 * wiki.savage-forum.com
 * 24chan Wiki
 * FormaVia Réseau rhônalpin des acteurs des TIC et de la formation continue
 * Primepedia Alles über Primeval - Die Rückkehr der Urzeitmonster
 * Cranckers aNd Soup