C# sample video upload from browser to VdoCipher

To automate your video website platform, you need video upload directly through your website. Read this for details about this method. The following code gives an example written in C#.

Controller makes API request to vdocipher API to get authorized data about the upload. View file creates the HTML form required for uploading data. Note that the HTML form is only for illustration. You need to hide the extra input fields and perhaps use one of the better javascript libraries (angularjs, jquery or standalone, etc.) for video upload to make user flow better according to rest of your website.

After the video is uploaded, it is not ready instantly. Do not load the player immediately. Use the API to query when video is ready and only then render the video player. The API for querying video status is described in the API reference as videos/ .

You may also like...