Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pause particular fb-video in for loop ? #153

Open
SimranChawla1995 opened this issue Apr 30, 2019 · 0 comments
Open

How to pause particular fb-video in for loop ? #153

SimranChawla1995 opened this issue Apr 30, 2019 · 0 comments

Comments

@SimranChawla1995
Copy link

SimranChawla1995 commented Apr 30, 2019

@ViewChild(FBVideoComponent) video: FBVideoComponent;

ngAfterViewInit() {
this.video.pause();
}
Above code works to access single instance of fbvideoComponent. How to do it for multiple instances ??
Please help. I tried a few things but they only access first instance. I don't understand what am i missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant