We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09a60be + d331ede commit 3a56bc2Copy full SHA for 3a56bc2
src/ExtractorFactory.php
@@ -30,6 +30,7 @@ class ExtractorFactory
30
'twitch.tv' => Adapters\Twitch\Extractor::class,
31
'bandcamp.com' => Adapters\Bandcamp\Extractor::class,
32
'twitter.com' => Adapters\Twitter\Extractor::class,
33
+ 'x.com' => Adapters\Twitter\Extractor::class,
34
];
35
private array $customDetectors = [];
36
private array $settings;
src/resources/oembed.php
@@ -1098,6 +1098,9 @@
1098
'|^https?://twitter\\.com/.*$|i',
1099
'|^https?://twitter\\.com/.*/status/.*$|i',
1100
'|^https?://.*\\.twitter\\.com/.*/status/.*$|i',
1101
+ '|^https?://x\\.com/.*$|i',
1102
+ '|^https?://x\\.com/.*/status/.*$|i',
1103
+ '|^https?://.*\\.x\\.com/.*/status/.*$|i',
1104
],
1105
'https://play.typecast.ai/oembed' => [
1106
'|^https?://play\\.typecast\\.ai/s/.*$|i',
0 commit comments