Skip to content

2.7.0

Choose a tag to compare

@oscarotero oscarotero released this 21 May 12:46
· 624 commits to master since this release
  • New property: license #125
  • New property: linkedData #111
  • New option to the html provider: externalImages #133
  • Removed deprecated oembed providers: Oembed\Yfrog and Oembed\Soundcloud

Added the ability to access to the requests headers #123:

$info = Embed::create($url);

//access to the main request headers
$headers = $info->getRequest()->getHeaders();

//access to the images requests headers
foreach ($info->getImagesRequests() as $request) {
    $request->getHeaders();
}