Closed (fixed)
Project:
Colorbox
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2012 at 20:21 UTC
Updated:
17 Sep 2012 at 16:41 UTC
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
Comment #1
jazzdrive3 commentedThe 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.
Comment #2
dvasquez commentedIt 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