3 * The video_embed_field lazy loading videos.
7 Drupal.behaviors.video_embed_field_lazyLoad = {
8 attach: function (context, settings) {
9 $('.video-embed-field-lazy', context).once().click(function(e) {
10 // Swap the lightweight image for the heavy JavaScript.
13 $el.html($el.data('video-embed-field-lazy'));