I decided to use the MediaWiki extensions project add on.
- To do this you will need the EmbedVideo.php that you can find on the project page.
- Next you will need to add the code to your wiki page in the format of {{#ev:service|id}} or to change the viewable size {{#ev:service|id|width}}
The services that come with the Embed Video extension are Dailymotion, FunnyOrDie, Google Video, sevenload, Revver and YouTube. Google Videos is not taking uploads anymore, but is still hosting previously uploaded video's.
Unfortunately my video was too large for any of these services to upload and I was already using Vimeo which is not automatically supported by the Embed Video extension.
- To fix this, I had to edit the EmbedVideo.php file to include the following code in the supported services section at the bottom. Start by placeing a comma after the last ) after youtube
- Then insert this code...
'vimeo' => array(
'url'=>'http://www.vimeo.com/moogaloop.swf?clip_id=$1&;server=www.vimeo.com&fullscreen=1&show_title=1&show_byline=1&show_portrait=0&color="'
)
Just make it match the format of the other services and you should be good to go.
If you have any problems with the embed video extensions or have suggestions for other projects in mediawiki, feel free to e-mail me and perhaps we'll use your suggestion for a further follow up article or a new article.
No comments:
Post a Comment