tylerpearson / lazyYT

A jQuery plugin to lazy load those dang Youtube iframe videos.
Other
208 stars 86 forks source link

TypeError: $(...).lazyYT is not a function #25

Open jorgedlcruz opened 9 years ago

jorgedlcruz commented 9 years ago

Hi, I'm facing with this problem when I mix this awesome script with other like dataTables: $(document).ready(function() { $("table").dataTable({ "bJQueryUI": true })}); Then I have this in FireBug - TypeError: $(...).lazyYT is not a function and any video is loading, how can I fix it?

Daugilas commented 9 years ago

Hey, I know this is from long ago.. Did you solve the problem though? Maybe have any link to existing or solved problem?

dmcmillin commented 5 years ago

@Daugilas it mean the script is running either before jQuery or that you need to replace $ with jQuery in the source strings.