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

Parsing/rendering fails when URL has additional query string params #38

Open thinkdj opened 4 years ago

thinkdj commented 4 years ago

If the video URL has extra params, the embed fails

Example

https://www.youtube.com/watch?v=tXsQJhoauxc&t=100s - Fails

https://www.youtube.com/watch?v=tXsQJhoauxc - Works

Ideally, the component should figure this out and call the required URL in proper format automatically