Bot releases are visible (Hide)
Published by oscarotero about 9 years ago
Fixed wrong parsing of urls like https://www.tumblr.com/oembed/1.0
making tumlr oembed fail
Published by oscarotero about 9 years ago
Published by oscarotero about 9 years ago
Fixed url parsing in windows #73, #74, 713f6c184f8f637b9cc0363f0f580ed9b868a4fe
Published by oscarotero about 9 years ago
Published by oscarotero about 9 years ago
Published by oscarotero about 9 years ago
Published by oscarotero about 9 years ago
Adapter created for lavozdegalicia.es
Published by oscarotero about 9 years ago
Fixed a bug on generate google maps code
Published by oscarotero about 9 years ago
Published by oscarotero about 9 years ago
Fixed Instagram with https
Published by oscarotero about 9 years ago
Improved Github adapter. Added support for geojson and 3d files. More info:
Published by oscarotero about 9 years ago
Internal changes to make the library more comprehensible and easy to extend
The Embed\RequestResolvers\RequestResolverInterface
has changed a little bit.
Changed the Embed\Request
and Embed\Url
classes to be inmutable.
Added oembed support for:
Improved oembed automatic detection from the html code (some sites use <meta>
instead of <link>
).
Improvements for devianart
New adapter for Howcast
Improved publishedTime value detection in opengraph
Created providers to work with some specific apis (archive.org, facebook, gist, soundcloud, wikipedia). This affects to configuration. facebookKey
and soundcloudKey
options have been moved:
//before:
$info = Embed::create($url, [
'adapter' => [
'config' => [
'facebookKey' => 'my-access-token'
'souncloudKey' => 'YOUR_CLIENT_ID'
]
]
]);
//Now:
$info = Embed::create($url, [
'providers' => [
'facebook' => [
'key' => 'my-access-token'
],
'soundcloud' => [
'key' => 'YOUR_CLIENT_ID'
]
]
]);
Published by oscarotero over 9 years ago
getBiggerImage
option #66false
:use Embed\Embed;
//before
$info = Embed::create($url);
if ($info) {
echo $info->title;
}
//now
try {
$info = Embed::create($url);
} catch (Embed\Exceptions\InvalidUrlException $exception) {
echo 'This url is not valid: ' . $exception->getMessage();
}
Published by oscarotero over 9 years ago
Fixed Facebook Adapter on handle .co
domains
Published by oscarotero over 9 years ago
Embed\Url
now decodes the query values. This fixes some problemsPublished by oscarotero over 9 years ago
Published by oscarotero over 9 years ago
Published by oscarotero over 9 years ago
New adapter for flickr
Published by oscarotero over 9 years ago
Fixed exception when the <body>
element is not found #58
Published by oscarotero over 9 years ago
title
and description
returns the values html-decoded, to avoid escaped entities like
aspectRatio
that returns different values if width
and height
are not called before #57