SamirHodzic / ngx-embed-video

Get embed code for embedding youtube/vimeo/dailymotion/* video in websites from URL or ID in Angular 6+.
MIT License
56 stars 41 forks source link

Property 'map' does not exist on type 'Observable<Response> #14

Closed yashwp closed 5 years ago

yashwp commented 6 years ago

This library is Not working with Angular 6 due to change in the directory structure of the RxJs.

ERROR in node_modules/ngx-embed-video/src/embed-video.service.ts(147,8): error TS2339: Property 'map' does not exist on type 'Observable'. node_modules/ngx-embed-video/src/embed-video.service.ts(167,8): error TS2339: Property 'map' does not exist on type 'Observable'.

IsaacSomething commented 5 years ago

rxjs update issue no doubt. https://www.academind.com/learn/javascript/rxjs-6-what-changed/

I think a few libraries have been hit by this

SamirHodzic commented 5 years ago

Should be fine with https://github.com/SamirHodzic/ngx-embed-video/pull/16, let me know if problem still exists.