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

get valid video_id from url which contain time. #48

Open shaanhashmi opened 3 years ago

shaanhashmi commented 3 years ago

There are few youtube urls contain time params like (https://www.youtube.com/watch?v=BwuLxPH8IDs&t=1910s) which not working in embedded, means it's contains some extra character with video_id which cause problem. To resolve this problem i provide a solution.