Releases: php-embed/Embed
Releases · php-embed/Embed
2.2.5
22 Jun 12:20
Compare
Sorry, something went wrong.
No results found
Added wikipedia adapter #61
Fixed providerIcon detection in html
2.2.4
21 Jun 16:01
Compare
Sorry, something went wrong.
No results found
Fixed embed code for Files adapter
Do not use regex to remove html comments because it fails with some url (#59 )
Fixed typo in namespace declaration #60
Added php7 to travis
2.2.3
12 May 18:01
Compare
Sorry, something went wrong.
No results found
2.2.2
11 May 18:02
Compare
Sorry, something went wrong.
No results found
Fixed exception when the <body> element is not found #58
2.2.1
09 May 12:04
Compare
Sorry, something went wrong.
No results found
title and description returns the values html-decoded, to avoid escaped entities like
Fixed google maps to work with other domains than .com
Fixed aspectRatio that returns different values if width and height are not called before #57
2.2
24 Mar 22:48
Compare
Sorry, something went wrong.
No results found
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
13 Mar 16:07
Compare
Sorry, something went wrong.
No results found
Fixed SoundCloud clips with no artwork causes error #52
2.1.1
24 Feb 17:59
Compare
Sorry, something went wrong.
No results found
Fixed Facebook adapter (missing namespace) #51
2.1.0
22 Feb 23:51
Compare
Sorry, something went wrong.
No results found
Improved the capture of images in the html. The images with rel="nofollow" will be ignored
More info provided by each image: width, height, mime, size, url and providers in which appears
The $info->images array is numeric.
Improved the way of choose the main image. Now the bigger image found in the first provided will be choosen by default.
2.0.1
16 Feb 18:14
Compare
Sorry, something went wrong.
No results found
New methods getImagesUrl() and getProviderIconsUrls() to retrieve only the image urls, without check the mimetype and dimmensions. This fixes #50