Open bryanbergman opened 8 years ago
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.
Thanks. I thought so too, but I wasn't sure how.
I think browsers & YouTube are pushing for HTML5-only videos; any progress on this?
lazyload
event will now fire for HTML5 videos and thelazy-loaded
class will now be added to videos.The solution was to listen for the
loadeddata
event on video elements.