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

nocookie domain of youtube not being recognized #49

Open mario0511 opened 3 years ago

mario0511 commented 3 years ago

I would like to use the "no-cookie domains" for embedding, which would be "www.youtube-nocookie.com" for youtube.

The problem is, if i pass the no-cookie domain to this.embedService.embed(url), the response of the method is empty.

How can i properly set no-cookie properties to correctly get a safe embed code?

Same for "vimeo" please :-)

Thank you!