Sorry if I am missing something, but I have read that colorbox integrates with emfield. Unfortuantely I cannot find how to accomplish this. I am running colorbox 6x-1.0 and emfield 6.x-2.5 along with media:youtube 6.x-1.3. My videos play fine, I just cannot find a setting anywere to enable them to pop up in colorbox when i click on the thumbnail, as opposed to going to the node. Thanks!

Comments

frjo’s picture

Status: Active » Fixed

This is really an issue for the emfield module but since I use that module as well here is how to do it.

Go to "Administer -> Content types -> [Your content type] -> Display fields". There you select the formatter you would like to use. All the ones that use Colorbox starts with "Colorbox: ".

asb’s picture

Category: support » bug
Status: Fixed » Active

I was naive enough to think this could actually be this easy. Obviously it isn't.

According to README.TXT I enabled "Enable Colorbox load" for Embedded Media Field module at ./admin/settings/colorbox. However, this didn't give me a "Colorbox" formatter on my content type's display settings.

For that to show up I had to additionally enable "JW FLV Media Player" at ./admin/content/emfield/emvideo, and do a "Flush all caches" in 'admin_menu'. This gave me exactly one formatter: "Colorbox: Thumbnail -> video in full screen". The Youtube video now creates a thumbnail in my content type, and a colorbox opens when clicking on the thumbnail. Nothing else happens; there is no video embedded, end there are no controls - just an empty white colorbox with the title of the "embedded" Youtube video.

Disabling the "JW FLV Media Player" at ./admin/content/emfield/emvideo didn't change the result.

Since the instructions for the setup are very simple and this seems not to work as it should, I'm reopening this issue and changing it to a bug report.

asb’s picture

StatusFileSize
new22.08 KB

Screenshot of the empty colorbox. Embedded should be "http://youtu.be/hKUtFGg09xk". Sampe page.

Modules used (all are "recommended" releases):

  • emfield 6.x-2.5
  • media_youtube 6.x-1.3
  • jquery_update 6.x-2.0-alpha1
  • colorbox 6.x-1.0

./admin/reports/status reports no problems, and watchdog logs no problems.

Update: This also seems to be a browser issue. I'm getting the empty colorbox overlay in Opera 11.50. In FF or Chromium, I'm getting no colorbox overlay, but a new browser window with the embedded Youtube video.

asb’s picture

StatusFileSize
new109.09 KB

Another screenshot... this is how the colorbox renders in Chromium.

frjo’s picture

Category: bug » support
Status: Active » Closed (cannot reproduce)

Please open a new issue for emfield since it's their integration with Colorbox that you have a problem with.

I have used emfield together with Colorbox on a couple of sites and did not have any problems with it.

asb’s picture