Adding Video to DokuWiki

Video Sharing Sites Video is an important part of the modern web. The introduction of Flash based players and the rise of websites like YouTube made this possible.

For inserting YouTube videos in DokuWiki pages, the YouTube Plugin by Ikuo Obataya existed for quite a while. But people like choice and everybody has their own favorite video sharing site. So people started cloning the YouTube plugin creating plugins for sites like Daily Motion or Google Video.

This bugged me, because all this copy and paste creates a lot of unnecessary code duplication. And really this became a problem when a XSS vulnerability was discovered in the YouTube plugin. While it was quickly fixed in the original plugin, the clones (some created by basically non-programmers) weren't.

So over the weekend I spent some time to write the Video Share plugin. This plugin was written from the scratch and with flexibility in mind. There's a simple config file to define video sharing sites. The syntax should be compatible to the youtube plugin minus the “link” syntax which can be easily achieved with DokuWiki's built in interwiki feature.

The plugin currently supports the following 13 services: YouTube, Daily Motion, Google Video, Revver, MetaCafe, Sevenload, Blip.TV , Vimeo, MySpaceTV, Jumpcut, Veoh , Eyespot and Clipfish. If you know of a video sharing site missing from that list, let me know and I see to add it.

Tags:
dokuwiki,
plugin,
video,
youtube
Similar posts:

 
Posted on Monday April the 28th, 2008 (3 months ago).

Comments

1
That´s really cool. Thank you :-)
2008-04-30 09:57:00
Hartmut Häfele
2
This new plugin, especially with the config file, is awesome !! Many people will be interested. Good job :-)
2008-05-07 19:29:52
Arnold
3
I was so upset at that time...
I realized I was still a novice.

By the way, the new plugin is great. In order to reduce duplication of code, I'm planning to modify the YouTube plugin to work as an adaptor to this plugin.
2008-05-09 12:07:50
Ikuo Obataya
4
Just to make it clear (because I was asked via email) - this is a plugin for DokuWiki and has nothing to do with http://www.vshare.in/. It's just accidentally named the same.
2008-05-26 22:13:55
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.

 
 

Blog

Older Weblog articles are available in the Archive, subscribe to the
Full Content RSS Feed
to stay tuned. (learn more)

Subscribe to the Feed

Recent Blog Entries

 

This is the personal web site of Andreas Gohr - human being, blogger and web geek from Berlin, Germany.

This page was last updated at 2008/04/28 22:16.
Imprint/Impressum

Tagged at del.icio.us:
No tags, yet. Why don't you bookmark it?

View blog reactions

Recent readers: