We are using the Embedded Field Module. In a view, we list video thumbnails, and have it set so if you click on them, the views handler is "Colorbox: Image Thumbnail -> Full Size Video".

This basically works. A colorbox opens and so does the full size video. However, within the iframe with the video, another colorbox opens. This new colorbox is blank, with no content. But the height causes the iframe to be too large, and it has scroll bars. Plus there is a white vertial line down the left side of the video.

If you click the video so that internal colorbox closes, everything looks and works fine. But that initial load breaks expected functionality.

Comments

jazzdrive3’s picture

Status: Active » Fixed

The issue was that all of Drupal's javascript is getting added to the iframe page again.

line 486 of emvideo.theme.inc ($variables['scripts'] = drupal_get_js();)

We commented that line out, and everything works as expected.

dvasquez’s picture

It works for me too!
But, at second video playing... it's broken!!

Too ban :(

Date and hour: 09/03/2012 11:33:02 a.m.
Error: TypeError: I.html(K.close).show is not a function
Source: http://donny/crisvasquez/sites/all/libraries/colorbox/colorbox/jquery.co...
Line: 4

Status: Fixed » Closed (fixed)

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