Constant Thinking

Posts tagged "modules"

1 post
drupalhtml5.jpg

How to Easily Add HTML5 YouTube Videos to Your Drupal Site

Obsolete | In Drupal
| 4 minute read

For my last article, I wanted to include a couple of videos from YouTube.

First, I pondered using the standard YouTube embed code, but I wanted a more simple, elegant solution. The Drupal RepTags module supports powerful macros and it comes with some pre-built YouTube macros, so that wasn’t bad.

But I wanted more: HTML5. Read on and see how easily you can create your own Drupal RepTags, including the code I use to add HTML5 support for the Drupal YouTube RepTag.