I had some time left over today and I spent it porting David Meade's Wordpress plugin to Drupal. It has almost identical features: A couple of extra fields are added to comment forms allowing each commenter to link to a video and a video thumbnail. Those videos are then played inline in the comment thread if the Embed QuickTime Drupal module is turned on.
You get two extra values on the comment object to use in your template. If you're using Embed QuickTime you would add the following to comment.tpl.php
<?php if ($comment->video && $comment->video_image): ?>
<div class="hvlog">
<a href="<?php print $comment->video; ?>" rel="enclosure">
<img src="<?php print $comment->video_image; ?>">
</a>
</div>
<?php endif; ?>
This is not the first time I've dabbled in video comments. This post from August 2004 accepted video comments. That was around the time I wrote long posts about how to create a distributed video commenting system.
This is the personal website of Andreas Haugstrup Pedersen: commentary on media, communication, culture and technology. Read more»
This is exactly what I need, but for drupal 6.
A port is very easy. I have uploaded a Drupal 6 version of the module now. See above.
which one is easy? drupal5 or drupal 6 If you appreciate help. thanks
Add your comment