Video on Drupal

I’ve added the Video Filter module to all of our Drupal pre-production instances to help those of you who are testing Drupal or doing preliminary content development on those servers. You can use this module to include video from one of the 15 sources that it accepts out of the box, like YouTube, Google Video, and Vimeo.

This uses the format [video:URL width:X height:Y align:left/right autoplay:1/0]. For example:

[video:http://www.youtube.com/watch?v=G8pPiS7aUGY width:300 height:350]

I also extended this by creating the MiddMedia Video Filter module which uses the same syntax as the Video Filter module, but allows you to add videos from our local streaming media server, which supports flv and mp4 video as well as mp3 audio. All the optional parameters work for the videos, but you can’t set them for the audio player. For example:

[video:http://middmedia.middlebury.edu/media/imcbride/walkingTour.flv width:400 height:300] [video:http://middmedia.middlebury.edu/media/imcbride/Google_Reader2008-12-04.mp4] [video:http://middmedia.middlebury.edu/media/imcbride/WS_30019.mp3]

Leave a Reply

Your email address will not be published. Required fields are marked *