Skip to content

Commit

Permalink
Merge pull request #436 from kinglozzer/youtube-consent
Browse files Browse the repository at this point in the history
Fix broken match pattern for youtu.be URLs
  • Loading branch information
oscarotero authored Apr 2, 2021
2 parents f944eef + 22ae75d commit 5028323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/OEmbed/Youtube.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class Youtube extends EndPoint implements EndPointInterface
{
protected static $pattern = ['*youtube.*', '*youtu\.be.*'];
protected static $pattern = ['*youtube.*', '*youtu.be*'];
protected static $endPoint = 'https://www.youtube.com/oembed';

public static function create(Adapter $adapter)
Expand Down

0 comments on commit 5028323

Please sign in to comment.