zyra/ngx-facebook

How to use fb-video in lazy loaded modules?

SimranChawla1995 opened this issue · 4 comments

How to use fb-video in lazy loaded modules?

I imported FacebookModule in my home module & FacebookService in its providers. Initialized the service in its component but when in html,it's not showing anything.While if i use it normally ,import all of these in app.module . It works fine.I'm not getting where is the problem. Please help.

+1

This comment helped #74 (comment)

I figured the problem was that fb-video was not getting initialized as I did it in constructor. Resolved now.