diff --git a/CHANGELOG.md b/CHANGELOG.md index 58e23137..495f9e97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [4.4.12] - 2024-07-24 +### Fixed +- X.com (Twitter) [#540] +- Updated oembed resources. + ## [4.4.11] - 2024-06-10 ### Fixed - Updated oEmbed entry points [#537] @@ -233,7 +238,9 @@ Full library refactoring. [#527]: https://github.com/oscarotero/Embed/issues/527 [#529]: https://github.com/oscarotero/Embed/issues/529 [#537]: https://github.com/oscarotero/Embed/issues/537 +[#540]: https://github.com/oscarotero/Embed/issues/540 +[4.4.12]: https://github.com/oscarotero/Embed/compare/v4.4.11...v4.4.12 [4.4.11]: https://github.com/oscarotero/Embed/compare/v4.4.10...v4.4.11 [4.4.10]: https://github.com/oscarotero/Embed/compare/v4.4.9...v4.4.10 [4.4.9]: https://github.com/oscarotero/Embed/compare/v4.4.8...v4.4.9 diff --git a/src/resources/oembed.php b/src/resources/oembed.php index ead747af..2d744655 100644 --- a/src/resources/oembed.php +++ b/src/resources/oembed.php @@ -37,9 +37,11 @@ 'https://live.amcharts.com/oembed' => [ '|^https?://live\\.amcharts\\.com/.*$|i', ], - 'https://api.amtraker.com/v2/oembed' => [ + 'https://api.amtraker.com/v3/oembed' => [ '|^https?://amtraker\\.com/trains/.*$|i', - '|^https?://beta\\.amtraker\\.com/trains/.*$|i', + '|^https?://amtraker\\.com/trains/.*/.*$|i', + '|^https?://.*\\.amtraker\\.com/trains/.*$|i', + '|^https?://.*\\.amtraker\\.com/trains/.*/.*$|i', ], 'https://animatron.com/oembed/json' => [ '|^https?://www\\.animatron\\.com/project/.*$|i', @@ -517,6 +519,9 @@ 'http://api.inphood.com/oembed' => [ '|^https?://.*\\.inphood\\.com/.*$|i', ], + 'https://widgets.insighttimer.com/services/oembed' => [ + '|^https?://insighttimer\\.com/.*$|i', + ], 'https://graph.facebook.com/v16.0/instagram_oembed' => [ '|^https?://instagram\\.com/.*/p/.*,$|i', '|^https?://www\\.instagram\\.com/.*/p/.*,$|i', @@ -538,6 +543,9 @@ 'https://issuu.com/oembed' => [ '|^https?://issuu\\.com/.*/docs/.*$|i', ], + 'https://samay.itabtechinfosys.com/oembed/' => [ + '|^https?://samay\\.itabtechinfosys\\.com/.*$|i', + ], 'https://create.storage.api.itemis.io/api/embed' => [ '|^https?://play\\.itemis\\.io/.*$|i', ], @@ -911,6 +919,9 @@ 'https://embed.sendtonews.com/services/oembed' => [ '|^https?://embed\\.sendtonews\\.com/oembed/.*$|i', ], + 'https://shared-file-kappa.vercel.app/file/api/oembed' => [ + '|^https?://shared\\-file\\-kappa\\.vercel\\.app/file/.*$|i', + ], 'https://shopshare.tv/api/shopcast/oembed' => [ '|^https?://shopshare\\.tv/shopboard/.*$|i', '|^https?://shopshare\\.tv/shopcast/.*$|i', @@ -1098,9 +1109,6 @@ '|^https?://twitter\\.com/.*$|i', '|^https?://twitter\\.com/.*/status/.*$|i', '|^https?://.*\\.twitter\\.com/.*/status/.*$|i', - '|^https?://x\\.com/.*$|i', - '|^https?://x\\.com/.*/status/.*$|i', - '|^https?://.*\\.x\\.com/.*/status/.*$|i', ], 'https://play.typecast.ai/oembed' => [ '|^https?://play\\.typecast\\.ai/s/.*$|i', @@ -1230,6 +1238,7 @@ '|^https?://.*\\.youtube\\.com/playlist\\?list\\=.*$|i', '|^https?://youtube\\.com/playlist\\?list\\=.*$|i', '|^https?://.*\\.youtube\\.com/shorts.*$|i', + '|^https?://youtube\\.com/shorts.*$|i', '|^https?://.*\\.youtube\\.com/embed/.*$|i', ], 'https://www.yumpu.com/services/oembed' => [