Releases: php-embed/Embed
Releases · php-embed/Embed
Release list
2.2.7
Fixed Facebook Adapter on handle .co domains
2.2.6
- Removed TED oembed provider, because the endpoint is defined in the head.
- Fixed oembed detection in head
Embed\Urlnow decodes the query values. This fixes some problems
2.2.5
- Added wikipedia adapter #61
- Fixed providerIcon detection in html
2.2.4
2.2.3
2.2.2
Fixed exception when the <body> element is not found #58
2.2.1
titleanddescriptionreturns the values html-decoded, to avoid escaped entities like - Fixed google maps to work with other domains than .com
- Fixed
aspectRatiothat returns different values ifwidthandheightare not called before #57
2.2
New imagesBlacklist option to define the images you want to avoid (Thank, @soullivaneuh). You can use * and ? special characters in this way:
$config = [
'adapter' => [
'config' => [
'minImageWidth' => 16,
'minImageHeight' => 16,
'imagesBlacklist' => [
'http://example.com/full/path/to/image.jpg', //images with this exact url
'https?://ugglyimages.com/*', //images begining by "http://ugglyimages.com/" (http or https)
'*/bad_image.gif', //image ending in "/bad_image.gif"
'https?://test.*/*.png/', //more complex pattern
]
]
]
];2.1.2
Fixed SoundCloud clips with no artwork causes error #52
2.1.1
Fixed Facebook adapter (missing namespace) #51