[PLUGINS] Fixed oEmbed dependents to use Embed

This commit is contained in:
Miguel Dantas
2019-07-06 17:26:15 +01:00
committed by Diogo Cordeiro
parent 2a2b3f72fb
commit b25632ebc4
8 changed files with 22 additions and 21 deletions

View File

@@ -28,12 +28,12 @@
defined('GNUSOCIAL') || die();
/**
* Utility class to wrap basic oEmbed lookups.
* Utility class to wrap basic embed lookups.
*
* Blacklisted hosts will use an alternate lookup method:
* - Twitpic
*
* Whitelisted hosts will use known oEmbed API endpoints:
* Whitelisted hosts will use known embed API endpoints:
* - Flickr, YFrog
*
* Sites that provide discovery links will use them directly; a bug
@@ -46,7 +46,7 @@ defined('GNUSOCIAL') || die();
* @copyright 2019 Free Software Foundation, Inc http://www.fsf.org
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
*/
class oEmbedHelper
class EmbedHelper
{
protected static $apiMap = array(
'flickr.com' => 'https://www.flickr.com/services/oembed/',