Search code examples
securityuploadvimeovimeo-api

Upload Video Directly to Vimeo from Client via API


I want to upload a video directly to Vimeo via API without having to upload it to my backend server. In Amazon S3, I would generated a signature on the backend and use it on the frontend form. However, in Vimeo, it looks like I need to provide the API token in the header to upload a video.

In this case, how do I upload a video directly to Vimeo on the client side without compromising security? I assume it's not safe to reveal the API token on the client side and there's no setting in Vimeo that lets me restrict the origin URL for file uploading.


Solution

  • Vimeo has a tutorial for uploading videos from your own frontend with HTTP requests.