-
Notifications
You must be signed in to change notification settings - Fork 36
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
SSR - Cannot read property 'unsubscribe' of undefined #32
Comments
Did you add the [vgMedia] directive to the |
Yes, I'm using it like this.
|
I had a similar issue earlier where I had put |
I'm using Angular 12 and the same problem here. In my case |
Just published v4.2.0! Massive thanks to @guillermodelagala for the PR! |
Description
I'm getting the error: "TypeError: Cannot read property 'unsubscribe' of undefined at VgMediaDirective.ngOnDestroy" in SSR.
I'm using Angular 10.
This issue was also reported in the previous version of this library videogular/videogular2#888
Expected Behavior
Videogular library should be able to load in server side.
Actual Behavior
Videogular throws this error and doesn't load.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: