|
Search in documentation:
Advanced search
|
Browse by category:
|
Using Upload API calls. |
|||||
There are several API calls that you can use to upload a file. Let's see the 3 available upload processes that you can build in your website :
1) Uploading a file using a single API call : The upload/uploadVideo function can be used to upload a file and associated datas (title, description, keywords, category, etc.) at the same time. When the upload finishes, the encoding process starts. ![]() See a sample of valid HTML form. NOTICE : - an API call is available to get the upload progression while uploading : upload/getUploadProgress (Request MD5 computoring before upload : it is used as a file identifier). - another API call is available after the upload to get the status of the video : video/getAvailabilityStatus (encoding in progress, video available or error while encoding). 2) Uploading video file and associated datas in 3 steps : Use upload/prepareUpload , upload/uploadFile and upload/finishUpload API calls. 2-a) Sending datas before uploading the file : ![]() NOTICE : upload_token is generated by prepareUpload method and upload_file_token by uploadFile method. Both are necessary fields in finishUpload API call.2-b) Uploading at first the video file, and then the datas : ![]() |
|||||
| Others in this Category | |
| Uploading forms | |
| Uploading a video | |
Powered by
KBPublisher (Knowledge base software)

NOTICE : 
