Skip to content

Commit 5028323

Browse files
authored
Merge pull request #436 from kinglozzer/youtube-consent
Fix broken match pattern for youtu.be URLs
2 parents f944eef + 22ae75d commit 5028323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/OEmbed/Youtube.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

1212
public static function create(Adapter $adapter)

0 commit comments

Comments
 (0)