Skip to content

Conversation

@bryanbergman
Copy link

@bryanbergman bryanbergman commented Jun 6, 2016

lazyload event will now fire for HTML5 videos and the lazy-loaded class will now be added to videos.

The solution was to listen for the loadeddata event on video elements.

@dryabov
Copy link
Collaborator

dryabov commented Jun 7, 2016

I'm not sure this patch should be included into main jquery.lazyloadxt.js file, most likely it should be a part of jquery.lazyloadxt.video.js add-on. I'll try to change that code correspondingly.

@bryanbergman
Copy link
Author

Thanks. I thought so too, but I wasn't sure how.

@tomByrer
Copy link

I think browsers & YouTube are pushing for HTML5-only videos; any progress on this?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants