So basically, I want to upload a file on Jwplayer Server..I'm using PHP library for uploading videos to JW Player Server.. when I try to upload the video which is in suppose downloads folder, it won't picked up and gave a warning instead that file_get_contents() No such FIle or directory..
But,When I try to upload the video which is in the same folder as my uploaded file, it picked it up straight away..
My Code
` $create_response = json_encode($jw_api->call('/videos/create', $params));
$resp = json_decode($create_response, true);
$decoded = json_decode(trim($create_response), TRUE);
$upload_link = $decoded['link']; // $fileName = uploaded file name
//Everything working fine until this...
$upload_response = $jw_api->upload($fileName, $upload_link);
`