public function __construct($url, $maxwidth = null, $maxheight = null) { $endpoint = "http://oohembed.com/oohembed/"; parent::__construct($url, $endpoint, true, $maxwidth, $maxheight, true); }
public function __construct($url, $apikey, $maxwidth = null, $maxheight = null) { $endpoint = "http://api.embed.ly/1/oembed?key={$apikey}"; parent::__construct($url, $endpoint, false, $maxwidth, $maxheight, true); }