X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?p=living-lab-site.git;a=blobdiff_plain;f=application%2Fcontrollers%2Fvideo.php;h=5182b62a5167ff274ed966355f254b65e6faa77e;hp=283851dc698e59b9676fbfa0f07e7256cff6d321;hb=141bdb84bf143c29a6c50eef3aee18541d2fc0e4;hpb=66dc2204a919e2c29b2aa9330ea18026d58540d9 diff --git a/application/controllers/video.php b/application/controllers/video.php index 283851d..5182b62 100644 --- a/application/controllers/video.php +++ b/application/controllers/video.php @@ -26,12 +26,9 @@ class Video extends CI_Controller { public function test() { - $this->load->model('videos_model'); - - $videos = $this->videos_model->get_videos_summary(1, NULL, 0, 10, - 'alphabetically', TRUE); + $this->load->helper('video'); - var_dump($videos); + var_dump(get_av_info('data/upload/test.ogv')); } /**