Lines Matching refs:oembed
157 $oembed = array();
164 $oembed[$element->getName()] = (string) $element;
169 $oembed = json_decode($response['body']);
177 return $oembed;
268 if(!$oembed = $this->parseResponse($response)) return false;
270 return array('oembed' => $oembed,
285 if(!$oembed = $this->parseResponse($response)) return false;
287 return array('oembed' => $oembed,
303 if(!$oembed = $this->parseResponse($response)) return false;
305 return array('oembed' => $oembed,
333 $oembed = $this->sanitizeOEmbed($data['oembed_data']['oembed']);
336 if($oembed['thumbnail_url']){
337 …="'.$oembed['thumbnail_url'].'" alt="'.$oembed['title'].'" title="'.$oembed['title'].'" height="'.…
345 switch($oembed['type']){
348 …$content = '<img src="'.$oembed['url'].'" alt="'.$oembed['title'].'" title="'.$oembed['title'].'" …
350 … '<img src="'.$oembed['url'].'" alt="'.$oembed['title'].'" title="'.$oembed['title'].'" height="'.…
354 $content = $oembed['html'];
360 $content = $oembed['html'];
363 … $content = "OEmbed Error <ul><li>Unsupported media type: {$oembed['type']}</li></ul>";
546 function sanitizeOEmbed($oembed){ argument
549 foreach($oembed as $key => $value){
586 function _logOEmbedData($oembed){ argument
588 $this->_log(" target_url: {$oembed['target_url']}");
589 $this->_log(" query_url: {$oembed['query_url']}");
591 foreach($oembed['oembed'] as $name => $value){