[This article is based on API v2 as documented here.] The Upload API workflow and overview can be found here. Please find below a sample code for enabling video upload from your PHP website's users. Note that this is sample code and you will need to configure it according to the controller-view structure in your application. It is not a recommended to put Controller logic and HTML output in a single file. (more…)
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:
C# sample API for 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#. C# Sample Code for VdoCipher OTP Generation In this example, the sample videoID is 1234567890, and the API Secret Key is a1b2c3d4e5. The time-to-live for OTP validity is set to 300s in the sample code. You can reference the API documentation for more info. var client = new RestClient("https://dev.vdocipher.com/api/videos/1234567890/otp"); var request = new RestRequest(Method.POST); request.AddHeader("Accept", "application/json"); request.AddHeader("Content-Type", "application/json"); request.AddHeader("Authorization", "Apisecret a1b2c3d4e5"); request.AddParameter("undefined", "{\n\t\"ttl\":300\n}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); The controller makes an API request to…
PHP implementation of VdoCipher API for Video Security
Update 5 June 2018 This implementation of VdoCipher Secure Streaming API is updated for latest API version v3, and for latest player version 1.6.4. A previous version of the blog used API v2. While we still support API version v2 we recommend that you use API v3 as part of your video workflow. If you have any queries regarding API v2 please do get in touch with us at support@vdocipher.com. The complete VdoCipher API reference is available here. A sample video-based workflow for your website is suggested here. Here is a PHP code to use VdoCipher API along with dynamic watermarking.…
Video APIs to Automate your Video Workflow – API Version v3
This blog suggests a workflow for automating the video workflow for your website using VdoCipher API v3. Complete details and Sample Codes for the API can be found in the Server API Docs. Our APIs are designed to give you programmatic access to VdoCipher's service, so that you can scale your service by automating the video streaming workflow on your site. Our APIs make it possible for you to create programmed pipelines to automate your business operations. In this blog, you will find APIs covering most important video actions. While the video upload and video management operations can be performed…
Using Tin Can API in video: Complete Documentation
Tin Can API is a specification for learning technologies that enables Learning Management Systems to collect data from various learning activities that a student may undertake. Tin Can API has succeeded SCORM (Sharable Content Object Reference Model) as the new standard for learner analytics. Requirements for Tin Can API In Tin Can API any learner activity on the web may be integrated and logged to the LMS. This includes activities such as reading a blog and watching a video online. For Tin Can API to succeed, all learning activities that a learner performs should be able to transmit learning data…
Secure Video Streaming API: VdoCipher for Developers
This blog has been updated for API version v3. You may use VdoCipher API v3 to build a workflow around your video website as suggested in this blog. Complete details and Sample Codes for the API can be found in the Server API Docs. In this blog article, I'll mention the common business use cases that generally developers use with our video streaming API. Our video APIs have been built with the express mission to automate the entire video streaming pipeline for our users, from video upload right upto video playback. The links to the new set of APIs and…