The following code is the complete set up for embedding video in ASP.NET Web forms using vdocipher secure streaming. This code has been generated using Visual Studio Community 2015. For the MVC implementation, please check: https://www.vdocipher.com/blog/2016/02/example-code-for-streaming-protected-video-in-asp-net/ For vbscript implementation of aspx, check this: https://www.vdocipher.com/blog/2015/01/asp-net-implementation-vdocipher-api/ Vdocipher video in asp.net: aspx and aspx.cs files: https://gist.github.com/vibhavsinha/cd81f160c6d23093aa38 Do not save API Secret in the code API secret is a key which gives your website authority to generate access tokens (OTPs) for video playback. This secret key can also be used to upload, delete videos in your vdocipher account. Hence, it should not be hard-coded in the application. It should be…
APIs and Sample Codes
We provide extensive APIs using which you can easily integrate our streaming service to your web app. Our APIs make it easy to embed videos with specific restrictions, and also to provide a custom streaming experience with which to delight your viewers. You can find additional resources at the following pages:
Drupal module to embed VdoCipher videos
Your videos on VdoCipher are protected and can only be played by an access token for each video view. This access token needs to be generated securely in your website backend. VdoCipher's Drupal module handles this, making sure that you need only a single-line shortcode to add videos to your Drupal site. Behind the scenes the module uses a shortcode-like syntax to parse and display videos. Videos can be displayed inside any node such as an article or a page or a custom content type. The markup of the content body is processed and the shortcode syntax is replaced with the player…
Code to embed vdocipher video in ASP.NET MVC with C#
The following code is the complete set up for embedding video in ASP.NET MVC using vdocipher secure streaming. This code has been generated using Visual Studio Community 2015. Vdocipher video in asp.net: controller view and config files https://gist.github.com/vibhavsinha/c82239fea15888afd75b Do not save API Secret in the code API secret is a key which gives your website authority to generate access tokens (OTPs) for video playback. This secret key can also be used to upload, delete videos in your vdocipher account. Hence, it should not be hard-coded in the application. It should be kept as an app secret. In the above example, it has been…
Load video files from public ftp server
Videos upload from local computer can be a tedious job unless you have a very good upload speed. Often our customers have to upload TBs of content from their public servers. Here we list two methods of load videos directly from your servers to your VdoCipher account. Option 1: FTP upload This option requires your server to expose ftp access from public servers. Go to your dashboard and choose import from FTP. Enter the server ip, username and password to login to your server. You shall see a list of files on your home account of ftp server. Navigate to the…
Redirected: Bandwidth account usage API for video streaming
Update 30 May 2018: This blog refers to API version 2, which has been succeeded by API version v3. We recommend that you use API version v3 as part of your video workflow. You can currently access account bandwidth usage in the VdoCipher Dashboard. Please let us know at support@vdocipher.com if you would like to check bandwidth usage using API v3. We provide data on your video usage streaming in terms of the bandwidth used and the total storage billed for the day. These data are deducted from the plan you have purchased. Account usage is updated daily at 5 am UTC everyday.…
Video upload from website or server to VdoCipher API
[Update 24/05/2018] This blog has been updated for API Version v3. A previous version of this blog used API v2. If you are using API v2 you can contact us at support@vdocipher.com. You can use VdoCipher API v3 to build a workflow around your video website as suggested in this blog. The complete API v3 reference, with sample codes for different backend languages, can be accessed from the API Sample Docs. We use Amazon AWS storage to store original user videos securely in AWS S3. With an intent to automate their online business, many of our customers wish to allow their users…