simple way to show youtube videos from inside a drupal website

  • Posted on: 18 February 2009
  • By: NickLitten

OK, so thats weird: Taking a video of myself writing a blog about how to embed Youtube video inside an article, page or blog entry on a drupal website while I'm writing it. It's left me with a weird kind of Groundhog day feeling...

Anyway, I've struggled with this often enough and after talking to Rob (of Drums the Word fame) I thought I would knock up a quick, dirty and simple example of my preferred technique for embedding Youtube videos.

There are a few techniques for embeddin media but probably the easiest is to use the copy/paste technique. Luckily fo rus - Youtube provides a nice little piece of HTML code that can be pasted into your drupal article...

Rob in Action:

As you can see - the final video result is simple to work with and looks good on a drupal page.

You can customize the size, color and wether or not it shows related videos with a simple copy/paste.

Here is an easy guide on how to do it:

ps: Just in case this style of inserting Youtube videos just doesnt cut the mustard - I also use a Drupal Module called Embedded Media to do more advanced Media Display from Drupal. To find out more click here