CodeIgniter Forums
NEED HELP ? FLV PLAYER - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: NEED HELP ? FLV PLAYER (/showthread.php?tid=9476)



NEED HELP ? FLV PLAYER - El Forum - 06-26-2008

[eluser]Zeeshan Rasool[/eluser]
Guys , i have problem wid this code. In $path i have vodeo file path that is 'test.flv'
and this file is uploaded in 'public/images/' folder. User clicks on a link, a video id is passed and using this id i get the file name i-e 'test.flv'.Now, i pass it but
'public/images/'.$path does'nt work
but if i use
'public/images/test.flv'
it works.
I want that the file name shud b come from DB
..... Any one Know?
Passing
<?
foreach($query as $item)
{
$path=$item->video_path;
}
echo $this->flvplayer->rendervideo('public/images/'.$path , 'public/images/sunset.jpg', '350', '250');

?>