https://demo-files.gvideo.io/gcore.mp4
(13,8MB from S3 storage)sftp://login:password@domain.com/path/file.mp4
https://demo-files.gvideo.io/hls/master.m3u8
origin_url
in the POST API request. The original video will be downloaded for Video Hosting on our server side.
Note : You can only upload one video per request.
error
. You need to delete the empty video entity and try to create a new one with the correct origin URL.
Once successfully uploaded and processed, the video will be available in the Customer Portal. You can check the status of the video by the GET API request or via webhook notifications.
origin_url
attribute in the POST API request.
Example of the request:
servers
: A list of available servers to upload the file; you can use any of them.token
: A secret token for starting the TUS session, valid for 4 hours which is long enough because as soon as the session starts, the token is no longer needed.video
: A copy of the main data pertaining to your video entity.chunksize
number is given in bytes. Take care to choose the chunk size appropriately:
token
, video_id
, and client_id
to find out the upload functionality of the TUS protocol: