We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure that users can provide YouTube short urls as well.
ie https://www.youtube.com/shorts/1H5UPEnzLkQ
A slight change to the regex would solve the issue.
Currently using a custom extension.
Changing line 70 in the extension's utils adds shorts url support:
const videoIdRegex = /(?:v=|shorts\/)([-\w]+)/gm
I'd submit a pull request, but it's such a tiny change and the contributing doc said to submit ideas first.
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days
Sorry, something went wrong.
Thanks a lot. :) I'm also using a custom extension.
Successfully merging a pull request may close this issue.
What problem are you facing?
Ensure that users can provide YouTube short urls as well.
ie https://www.youtube.com/shorts/1H5UPEnzLkQ
What’s the solution you would like to see?
A slight change to the regex would solve the issue.
What alternatives did you consider?
Currently using a custom extension.
Anything to add? (optional)
Changing line 70 in the extension's utils adds shorts url support:
I'd submit a pull request, but it's such a tiny change and the contributing doc said to submit ideas first.
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: