Skip to content

Warning: file_get_contents(EQDS8LUSEPLKDS1T.mp4): failed to open stream: No such file or directory in /opt/lampp/htdocs/education/jwplayer/src/JwplatformAPI.php on line 241 #21

@jasrajput

Description

@jasrajput

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);
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions