hey, It's me again.
I don't want to bother you, and feel free to share your opinion on this, but I stumbled upon your videoId parsing approach.
While I guess it should work fine for most cases, there are some edge cases that could be easily prevented by using the browser defaults.
e.g. opening a link with an anchor to the comments section
https://www.youtube.com/watch?v=4-YXdvUs1_M#comments
will parse as 4-YXdvUs1_M#comments with your approach.
I guess we can assume browser support für browsers without URL support is off the table.
hey, It's me again. I don't want to bother you, and feel free to share your opinion on this, but I stumbled upon your videoId parsing approach.
While I guess it should work fine for most cases, there are some edge cases that could be easily prevented by using the browser defaults.
e.g. opening a link with an anchor to the comments section
https://www.youtube.com/watch?v=4-YXdvUs1_M#comments
will parse as4-YXdvUs1_M#comments
with your approach.I guess we can assume browser support für browsers without
URL
support is off the table.