jquery-oembed-all
jquery-oembed-all copied to clipboard
Existence check for title in oembedData object.
Checks to make sure that oembedData.title even exists within the object; failure to exist results in 'undefined' to be inserted in the link. At least one third party (Flickr) fails to return this object with a title attribute.
Example: http://www.flickr.com/photos/ahattar/8158065331/lightbox/ Goes to a login page, but an attempt to embed will return a 'success' result without a title object.
The NFL would like to continue support for this plugin. Please re-submit your pull request with https://github.com/nfl/jquery-oembed-all. Thank you.