Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do we come know that vimeo has processed the uploaded video?

Once the video has been uplaoded to vimeo, how do i know that processing has been completed through API. So that i can embed the video into Iframe?

like image 387
Ramesh Avatar asked Aug 27 '15 18:08

Ramesh


1 Answers

The API representation of a video contains a field, status. This field will contain a string representing the status of the video. It can be one of the following

  • available
  • uploading
  • transcoding
  • quota_exceeded (can not play because the quota was exceeded before uploading this video)
  • uploading_error
  • transcoding_error

So if you request https://api.vimeo.com/me/videos, each video will contain the status field with one of the above values.

like image 200
Dashron Avatar answered Oct 13 '22 17:10

Dashron