Embed

Get info from any web service or page

MIT License

Downloads
7.6M
Stars
2.1K
Committers
71

Bot releases are visible (Hide)

Embed - 2.5.5

Published by oscarotero about 9 years ago

Fixed wrong parsing of urls like https://www.tumblr.com/oembed/1.0 making tumlr oembed fail

Embed - 2.5.4

Published by oscarotero about 9 years ago

  • Added Guzzle5 ImageInfo retriever #77 (by @mburtscher)
Embed - 2.5.3

Published by oscarotero about 9 years ago

Fixed url parsing in windows #73, #74, 713f6c184f8f637b9cc0363f0f580ed9b868a4fe

Embed - 2.5.2

Published by oscarotero about 9 years ago

  • Improved DC terms detection (by @younes0 )
  • Improved published time detection (by @younes0 #76 )
  • Removed default api key for soundcloud (because it's no longer working)
  • Removed Revision3 oembed because it's failing
Embed - 2.5.1

Published by oscarotero about 9 years ago

  • Added Guzzle5 request resolver #71 #72 (by @younes0)
  • Removed Blip.tv oembed support because it's shutdown
Embed - 2.5.0

Published by oscarotero about 9 years ago

  • Added support for wordpress.tv #69
  • Added support for youtube playlists #48
  • Fixed the issue related with TooManyRequest in youtube #68 #62
  • Fixed the image detection #70
  • Removed Kewego support (the website returns 404)
  • Removed suppport for google maps (the code generated does not work, need to investigate an alternative)
Embed - 2.4.5

Published by oscarotero about 9 years ago

Adapter created for lavozdegalicia.es

Embed - 2.4.4

Published by oscarotero about 9 years ago

Fixed a bug on generate google maps code

Embed - 2.4.3

Published by oscarotero about 9 years ago

  • Fixed wrong configuration key names #67
  • Added support for google drive links
Embed - 2.4.2

Published by oscarotero about 9 years ago

Fixed Instagram with https

Embed - 2.4.1

Published by oscarotero about 9 years ago

Embed - 2.4.0

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:

    • 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 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'
            ]
        ]
    ]);
    
Embed - 2.3.0

Published by oscarotero over 9 years ago

  • Fixed getBiggerImage option #66
  • Use of exceptions to catch errors instead returns false:
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();
}
Embed - 2.2.7

Published by oscarotero over 9 years ago

Fixed Facebook Adapter on handle .co domains

Embed - 2.2.6

Published by oscarotero over 9 years ago

  • Removed TED oembed provider, because the endpoint is defined in the head.
  • Fixed oembed detection in head
  • Embed\Url now decodes the query values. This fixes some problems
Embed - 2.2.5

Published by oscarotero over 9 years ago

  • Added wikipedia adapter #61
  • Fixed providerIcon detection in html
Embed - 2.2.4

Published by oscarotero over 9 years ago

  • 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
Embed - 2.2.3

Published by oscarotero over 9 years ago

New adapter for flickr

Embed - 2.2.2

Published by oscarotero over 9 years ago

Fixed exception when the <body> element is not found #58

Embed - 2.2.1

Published by oscarotero over 9 years ago

  • title and description returns the values html-decoded, to avoid escaped entities like &nbsp;
  • 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