[SOLVED][Drupal Colorbox] How to embed Youtube videos in Colorbox?

| | 1 min read

A large number of Drupal users wanted to know how to embed Youtube videos in Colorbox in their Drupal site. If you are looking for a way to embed Youtube videos in Colorbox then read on to find out more.

Here is the simple solution of doing that.

  • Add these classes to your Youtube video link:
    class="colorbox-load cboxElement"
  • Add the following link fragments to the href tag of your Youtube video

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.