-
Notifications
You must be signed in to change notification settings - Fork 41
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
Error on Angular 6.0.3 #23
Comments
We are facing same issue, any updates on it? |
I'm also facing same issue. Is there any update ? |
I also had the same issue. The issue was that the official documentation says to import as : import { HttpClientModule } from '@angular/common/http'; @NgModule({ the solution is to import EmbedVideoService and not EmbedVideo as import { EmbedVideoService } from 'ngx-embed-video'; @NgModule({ I hope its helpful |
Hi I found another way to fix this issue. I created a provider:
also, the factory used:
then, add it on
|
Thanks cguilhermef for your comment and solution, this helped me solve the final issue running this component in production. For others, cguilhermef's solution solved another error I was receiving once I was able to use AOT compilation. |
I got it working using your solution @lazymesh. |
Yes exactly it resolved 2 issues mentioned perfectly. |
Hello, I am getting this error with Vimeo: Access to XMLHttpRequest at 'https://vimeo.com/api/v2/video/10549781.json' from origin ( myurl ) has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response. Has anyone else this issue? Thank you. |
Hi,
I have an issue on Angular 6.0.3
There support to this version ?
Thanks!
The text was updated successfully, but these errors were encountered: