SixApart’s Hackathon
SixApart, the company that makes the MovableType blogging platform, hosted a “Hackathon” day where people could just come, hang out and make cool stuff for Movable Type.
For those, like me, that missed out on the fun: Here is the flickr photo stream and here are a few select videos uploaded by one of the attendees. (via Learning Movable Type)
Why don’t they ever do this kind of thing in St. Louis? Seriously.
A Nasty Fat-Chick-like Update: These video were apparently recorded on a camera someone stole from a museum. They are tough to watch and even listen to. Bummer.
Video Comments Movable Type Plugin
What?
This plugin allows a Movable Type blog to give the readers the chance to comments via video. The video is uploaded and encoded into flash video (like on youTube) and then displayed in the comments of an article with the use of an open source flash video player.
Requirements
This plugin isn’t as straight forward and many others. The reason is, you need to have FFMPEG installed on your websever in order to encode the video correctly. However, installing FFMPEG is only the beginning, because you can / should also compile FFMPEG with any number of extras in order to handle the myriad of different video types out there.
The Plugin File: videoComment.pl (Update: Dreamhost made some change with their servers, so I had to remove the .pl extension. Download the file at the updated link and add the .pl extension yourself. Sorry.)
FFMPEG: http://ffmpeg.mplayerhq.hu/
Flash Video Player: http://www.jeroenwijering.com/?item=Flash+Video+Player
Features
This first release features:
- Upload and auto-encoding to a directory of your choice.
- Zero code changes to any Movable Type scripts, just modify the comment form on your template.
- Zero additions to the Movable Type database.
- When a comment is deleted in the Movable Type interface, its associated video content and screenshot is removed automatically.
Demo
As of right now, no demo is available at Hell Yeah Bitch! .com. I will post on tonight, after Dreamhost fixes their network connectivity issues. (No use in demoing a video upload, with the speeds are this slow.)
Update: Dreamhost seems to have gotten us to move at least a little faster. You can now see a demo in the comments form of every post, but please use this article’s comments for discussion and testing.
Install
- Check to see if your web server or web host has FFMPEG installed and configured. If not, you will need to do this yourself or request that your system administrator install it for you. For help configuring and installing FFMPEG with all the video decoding ability your site needs, see http://ffmpeg.mplayerhq.hu/ and http://hellyeahbitch.com/archives/2006/09/081009
- Download the Flash Video Player, and “install” by putting the flash player file in the root of your web directory.
- Now, download the plugin file, and place it in your $MT_DIRECTORY/plugins directory
- Modify the plugin file at the top to set the directories that you want your video comments to reside and where the plugin should place the temporary files before they are deleted.
- Modify the HTML form in your comments template to accommodate the uploading of the video file. To do this, modify your form to this general example:
- Lastly, the plugin will give you two new tags for use in your comments templates. They are for use in between your
tags. They are: < MTIfVideo >, <$MTShowVideo$>. The first is used to check to see if the comment being displayed has video content with it, the second is used to show said content. So in your comments showing area of your template, you would put something like
< MTIfVideo >
<$MTShowVideo$>
< /MTIfVideo >After the rest of your comment tags.
- Your done.
Like I said, its not as straight forward as most plugins are, but with a little work on the FFMPEG install, you can get your video comments working just fine.
Hopes and Dreams
- Hopefully Dreamhost will fix the problem tonight and I can post up a demo.
- Hopefully I will figure out how to install faad2 on my Dreamhost shared server account so that you can upload video with AAC encoded audio for use with the comment system.
- Hopefully I’ll get at least enough response and bug reports to tap out a new version sometime soon and possibly figure out a way to kill a few steps in the install process.
Movable Type 3.2 Burned Us.
Simple installation: Once the application is on your web server, installing or upgrading the system is as simple as a few clicks.
Ha! Earlier today I succumbed to the shiny website and long feature list of Movable Type 3.2, so against the nagging of the little guy in my head that never wants to upgrade anything that is working fine, I decided to go for it. I should have listened to him.
Here’s the quick version: I uploaded the files, I ran the “check” program (I passed). I then ran the install and I got a nice little paragraph of Perl errors. I checked the permissions…I ran to their support site…neither helped. Thank god I did a backup, right? Well I managed to chose the very day when the “restore a home directory backup” feature at my webhost didn’t want to work. Long story short(er than it could be), I finally did the restore by hand and I think we are back to normal.
The moral of this story? Listen to the little “don’t upgrade” guy in your head more often.


Ouramazingly popular video comments and the associated Movable Type plugin got legitimized recently as the plugin is now listed on Six Apart’s ProNet Plugin Directory (Its in the Rich Media section).
It seemed more exciting before I wrote it.
Link: http://www.sixapart.com/pronet/plugins/plugin/video_comments.html