Whenever I use colorbox to attempt to display a video, it doesn't display in a lightbox, it goes to a new page with the video in the upper left corner. Lightbox2 functions properly with both video and images but colorbox only works with images for me. I would much rather use Colorbox than Lightbox2

Any ideas?

Comments

Ross-Hunter’s picture

Using emfield and media:youtube btw.

frjo’s picture

Do you have the Colorbox plugin and the jQuery Update module version 2.x installed? They are requirements for Colorbox to work.

Can you get Colorbox to work for an image field?

osman’s picture

Status: Active » Needs review

I had the same problem.

colorbox 6.x-1.0-beta9
emfield 6.x-2.4
media_youtube 6.x-1.2
jQuery Update 6.x-2.x-dev (2010-Sep-09) 1.3.2
jQuery UI 6.x-1.4 1.7.3

In Display fields I set imagefields to "Colorbox: image" and videos to "Colorbox: Image Thumbnail -> Full Size Video".

On the same node Images are opened in colorbox but not videos. Videos are opened in a new window.

You need to check "Enable Colorbox load" option in Extra Settings in http://example.com/admin/settings/colorbox

Cheers,

Osman

frjo’s picture

Good catch osman, yes "Enable Colorbox load" need to be checked.

I know this is not obvious unfortunately. I encourage other modules that make use of "Colorbox load" to activate the setting themselves but that is not always possible.

Any ideas are welcome.

dgsiegel’s picture

imho putting a sentence like "you need to enable this setting to have emfield objects displayed in colorbox" to the description of that field should be enough, no?

pelicani’s picture

additional information should be added to the colorbox configuration page, imo.
this comment thread is how we solved our problem.

we are using emfield and their embedded video.
Not sure if requiring that module to update yours is the best path.
but for now, a comment would be most helpful.

peace.

rjbrown99’s picture

+1, I just spent a bunch of time troubleshooting the same issue. A simple sentence in the README suggesting users of emfield enable that option would be helpful.

frjo’s picture

Status: Needs review » Fixed

I have now added instructions to activate "Colorbox load" for Embedded Media Field module in the README and on the project page.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

pieterdc’s picture

So, if I got the "Colorbox load" form field description correct; the emfield module should activate that option?