Open vinnyvimto opened 6 years ago
This package currently uses https://github.com/regexhq/youtube-regex for parsing the urls. Would you be willing to make a change and submit a PR ?
The line that needs to be changed is https://github.com/ritz078/embed-js/blob/5a58be79ce45497a66e2ef41d3644e3272c0ee19/packages/embed-plugin-youtube/src/index.js#L76
Using the YouTube plugin the url
https://www.youtube.com/watch?v=example&t=6s
is not parsed correctly.The only part passed is
youtube.com/watch?v=example
leaving the embedded video wrapped inhttps://
and&t=6s