3 * The video_embed_field colorbox integration.
7 Drupal.behaviors.video_embed_field_colorbox = {
8 attach: function (context, settings) {
9 $('.video-embed-field-launch-modal', context).once().click(function(e) {
10 // Allow the thumbnail that launches the modal to link to other places
11 // such as video URL, so if the modal is sidestepped things degrade
14 $.colorbox($.extend(settings.colorbox, {'html': $(this).data('video-embed-field-modal')}));