lazyYT icon indicating copy to clipboard operation
lazyYT copied to clipboard

Not compatible with angular

Open kunchamharsha opened this issue 7 years ago • 1 comments

I have a client rendering page where we render the page dynamically using angularjs, lazyYT is rendering it even before angular renders it. Can anyone help me with this?

kunchamharsha avatar Jan 12 '18 14:01 kunchamharsha

@kunchamharsha lazyYT is initiated with this line: $('.js-lazyYT').lazyYT({PARAMS}). Don't call it onLoad or on window ready, etc. (as given in demos).

Render Angular and then, once your video containers are ready - call: $('.js-lazyYT').lazyYT({PARAMS})

Daugilas avatar Jan 18 '18 04:01 Daugilas