Skip to content

Lazyload option exist here? #72

Description

@LeMiira

Hi, is there anyway to lazyload the external scripts? I want to make website fast, so just put the image and after lazy loading the image, triggered your plugin, but seems not reached my goal!

 $('#video-thumbnail').lazy({
                afterLoad: function () {
                   jQuery('#top-video-bg').YTPlayer({          
                   videoId: $('#top-video-bg').attr('data-video-id' )  });                 
                }
            });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions