[SOLVED][Drupal Colorbox] How to open Vimeo videos in Colorbox?

| | 1 min read

Many Drupal users wanted to know how to open Vimeo videos in Colorbox?. If you are facing the same question with Colorbox in your Drupal site then read on to find out the solution.

It is easy to open Vimeo videos in Colorbox. Check out the examples below.

  • Lets say the embed code for the Vimeo Video file is as follows
    <iframe src="http://player.vimeo.com/video/6282866" width="940" height="635" frameborder="0"></iframe>
  • First enable the Colorbox Load in the Colorbox configuration.
  • Then convert the link into the following format
    <a class="colorbox-load" href="http://player.vimeo.com/video/6282866?width=400&height=225&iframe=true">Play vimeo video</a>

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.