Skip to content

Conversation

lozcalver
Copy link

This pattern didn’t work as expected previously anyway, as the . doesn’t need to be escaped (due to preg_quote()) and .* ends up being changed to \..*:

https://github.com/oscarotero/Embed/blob/f944eef58227af79d217b48c763ae931cf417828/src/Http/Url.php#L80

@croxton
Copy link

croxton commented Apr 1, 2021

I've tested this 22ae75d and can confirm it now works well with both youtube.com and youtu.be URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants