/**
  * tag rendering
  * @param  [type]  $data    [description]
  * @param  array   $params  [description]
  * @param  boolean $tagdata [description]
  * @return [type]           [description]
  */
 function replace_tag($data, $params = array(), $tagdata = FALSE)
 {
     $this->_cache_refresh();
     $e = explode('|', $data);
     if (count($e) != 5) {
         $e = array('', '', '', '', '');
     }
     list($youtube_id, $cache_date, $title, $views, $since) = $e;
     $y = new Youtube($this->settings['api_key'], $youtube_id);
     $thumbnail_index = isset($params['thumbnail']) ? $params['thumbnail'] : '0';
     $link = $this->_make_thumbnail($y->thumbnail_src($thumbnail_index), $y->embed(), $y->watch_url(), $title, $views, $since, $params);
     return $link;
 }