Welcome Guest, Not a member yet? Register   Sign In
NEED HELP ? FLV PLAYER
#1

[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');

?>




Theme © iAndrew 2016 - Forum software by © MyBB