public function get_video($id, $name = NULL)
{
$this->load->helper('video');
+ $this->load->helper('text');
$query = $this->db->query("SELECT v.*, u.username
FROM `videos` v, `users` u
// Thumbnails
$video['thumbs'] = $this->get_thumbs($video['name'], $video['thumbs_count']);
+ // Shorted description
+ $video['shorted_description'] = character_limiter(
+ $video['description'], 128);
+
return $video;
}