Subscribe to RSS feed

splitbrain.org - electronic brain surgery since 2001

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 (14 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.