Closed (fixed)
Project:
Colorbox
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2011 at 21:43 UTC
Updated:
16 Jul 2011 at 12:32 UTC
If the embed code for the vimeo video is:
<iframe src="http://player.vimeo.com/video/6282866" width="940" height="635" frameborder="0"></iframe>
What is the correct way to launch this video on colorbox ?
Thanks
Comments
Comment #1
frjo commentedEnable "colorbox load" in the Colorbox configurations. Then build the link like this.
Comment #2
rolandk commentedThank you, that worked perfectly.
Just need to add the above code to a node as PHP code text format.
Comment #3
frjo commentedThere is no need to use "PHP code text format", this is not PHP code just plain simple HTML. Use the Full HTML text format or any other text format you have set up that allow links.
The "PHP code text format" should not normally be active on a production site in my opinion. Also be aware that nodes with the "PHP code text format" is not cached by Drupal, at least that was the case with Drupal 6.