Even this code https://github.com/vimeo/vimeo-php-lib doesn't work for me.
I have changed all the necessary stuff but still i get two errors when changing the 'video path' which takes video name directly from 'file_name' (run time input).
Encountered an API error -- code 401 - Invalid consumer key (when i say $FILES['file']['tmp_name'] or $FILES['file']['name'])
"Valid file did not exist" Error message, (if i store name in variable first and call it there..)
And sweet part is when I'm giving video's name DIRECTLY, something like 'abc.mp4' - it is working fine!
Do let me know where exactly I'm wrong.