I have used VimeoUpload SDK in My App to upload videos and its working fine.
During Development I noticed that the SDK created upload URL has a video_file_id
and it does not match with the video_id
once upload is completed.
SDK generated URL :
How can I get the video details of last uploaded video in Vimeo?
Great question, from the reply to the Github issue you filed:
You can get the video object associated with the file you just uploaded in three ways:
The video object is returned in the "activate" response. This request is made by the
OldUploadDescriptor
as soon as the file upload completes. Check out the.Activate
case here. Actually, now that I'm writing this, the video object might actually come back in the.Settings
response. Either way the example of how to do this is at the same link above.You can also request a video object separately from anything related to the upload flow by making a
GET
request to the video's uri. TheVideoOperation
class contains an example of this.You can also access the
video.uri
and entire video object on the descriptor itself (once the upload is complete). Look here.Let us know if you have other questions (I'm an author of the library).