Many Ways To Do YouTube On Drupal
Given the previous information it's no surprise that many Drupal site developers seek to leverage YouTube to deliver videos via their sites. Thankfully, a variety of methods and modules exist that allow Drupal site developers options for integrating YouTube with their site. This drop breaks down a number of those options for both Drupal 5 and Drupal 6.
- Embed code within nodes. By far the easiest and most flexible way to integrate YouTube videos on your site. Just copy and paste the embed codes provided for each video player into the node body. Make sure that your input format is set to 'Full HTML' or the player will not appear when the post is saved.
- The asset module. The asset module can connect to your YouTube account via the YouTube API. This allows you to access lists of uploaded videos and favorites which you can then insert into posts directly from the Drupal adminstration interface.
- The embedded media field module. Embedded media field is a multi-purpose embedding module that supports images, video and audio. The video part supports YouTube and a wide variety of other video sites.This module allows you to create a field using CCK that will accept the link to a YouTube video and automatically convert that link to an embedded video player in the node.
- Embed code within nodes.
- The video filter module. The video filter module (also compatible with Drupal 5) allows you to embed YouTube video players by adding a bit of code to each post that appears as follows: [video:video-url].
As you can see the Drupal 6 specific modules for YouTube are a bit limited. I have a feeling that in time the options will improve. A discussion about Drupal and YouTube API integration is taking place over on Drupal Groups. So I'm pretty sure that we should see some pretty fantastic integration options utilizing the YouTube API some time in the future.