2.4.0
-
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
andEmbed\Url
classes to be inmutable. -
Added oembed support for:
- Bambuser
- Flickr
- Kickstarter
- Polldaddy
- Shoudio
- Spotify
- Ustream
-
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
andsoundcloudKey
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' ] ] ]);