iamfaiz's avatar

How to upload video to Vimeo through their api?

Let's imagine that I have a video url on my site: it's like this: http://example.com/videos/myvideo.mp4 . I want to use Automatic (“pull”) uploads method to upload this video to vimeo. Then I simply want to host it on my site. The problem is that the documentation that they provide is kinda confusing to me (and possibly all other developers getting started with their api). So, from your experience can you tell me how to upload this video to that vimeo and get back the video url that has been uploaded?

I created the vimeo app as they said and I have requested the upload access. It says:

Upload Access

Approved for the following accounts:
Your account

So basically everything is setup. I just need to know what http request should I send to the vimeo server in order to upload that mp4 file that is accessible on the web.
@JeffreyWay Laracasts videos are hosted on vimeo, right? Can you help?

0 likes
5 replies
bobbybouwmann's avatar

There is a really good packages for this functionality: https://github.com/vinkla/vimeo

And indeed Laracasts is using vimeo as well ;) Jeffrey has been talking about open sourcing the website, but I think he hasn't found time for it yet!

iamfaiz's avatar

@bobbybouwmann Thank you for your reply :) I already tried that package but getting some sort of user token missing error.

muthuraja's avatar

Hi iamfaiz, I have faced the same problem.Kindly please tell me the what are the steps you are followed solve that problem.Please help me. thankyou

Please or to participate in this conversation.