zyra / ngx-facebook

Angular TypeScript Wrapper for Facebook SDK
http://zyra.github.io/ngx-facebook/
MIT License
209 stars 71 forks source link

How to use fb-video in lazy loaded modules? #148

Closed SimranChawla1995 closed 5 years ago

SimranChawla1995 commented 5 years ago

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.

lynx-r commented 5 years ago

+1

lynx-r commented 5 years ago

This comment helped https://github.com/zyra/ngx-facebook/issues/74#issuecomment-302836161

SimranChawla1995 commented 5 years ago

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