Videos TV & Movies Channels Community

veoh.video.upLoad

There is no single method for uploading vidoes. The following steps should be followed to upload a video via Veoh API:
  1. Create a video object by calling veoh.video.create. In case that the call is successful, there should be an attribute 'uploadToken' encapsulated in the response.

  2. Obtain a userToken by calling veoh.people.authenticate. In case that the call is successful, there should be a valid 'userToken' returned in the response.

  3. Post the video file to the following url using the value of the uploadToken and userToken obtained from step 1 and step2:

    /webupload/upload.jsp?uploadToken=XXXXXXXXX&userToken=XXXX

    Other parameters required for this request are:

    • 'theFile' which is file name for the video from the local filesystem. Or
    • 'urlUpload' which is the url for the video in case of it is being upload from a url.
    ,

    Also enctype of the post has to be set as multipart/form-data"

Copyright © 2008 Veoh Networks, Inc.  |  Terms of Use  |  Copyright  |  Privacy Policy