VdoCipher videos can be added into any Ruby on Rails application without worrying about API code and setup. VdoCipher ruby gem does all the API related work for you. https://rubygems.org/gems/vdocipher Getting started Add this line to your Gemfile in your rails application gem 'vdocipher' And in your required controller add these lines require 'vdocipher' ... vdo_api = VdoCipher.new(clientSecretKey: "CLIENT_SECRET_KEY"); @embedcode = vdo_api.play_code("VIDEO_ID", "style=\"height:400px;width:640px;max-width:100%%;\""); Now in your view file, output the embed code where you like to embed videos. <%= @embedcode.html_safe %> You can add any attributes other than id in the play_code function for video container. The div id is assigned internally…
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:
Asynchronous video embed
We have released a new embed script to be used for VdoCipher videos which is faster than the earlier embed code. The earlier embed code used to wait for the player script to load before rendering the page after video player. This was a serious delay in page load time and affected the user experience. We have changed to asynchronous code which does not affect the page load time while making player loading even faster. Asynchronous scripts are much faster in situations where the rest of the web page does not depend on a single widget. This is the situation in most cases of video players. Hence, we have created…
ASP.NET implementation of VdoCipher API
Here is a ASP.NET code to use VdoCipher API. You need to simply put in the right client_secret_key and the correct video_id ( the phrase in caps in both files ). https://gist.github.com/vibhavsinha/8029efcf0b66016f8040 The code should work out of the box after extracting inside PHP running server and replacing secret_key and video_id. The structure of annotation JSON is described in the link : Add text to videos with watermark For other API and details, check out documentation or contact us directly at info@vdocipher.com.
Video upload API with tag based listing
[Update 30 May 2018: In our API v3 the upload process and tagging process are now separate. You can refer to this blog on how to add videos to account and then add tags to videos programmatically. The API methods in this blog are now deprecated.] While creating a video content management system, you might need to have a video uploading system for your viewers, or at least an admin panel to upload videos and manage the uploaded videos. With VdoCipher video upload API, your website shall be ready in a minute and you can ask your users to upload videos directly on…
Tag your videos and search using API
[Update 30 May 2018: This blog explains tagging and video search for API version 2. We have since released API Version 3, which has different HTTP endpoints. You can refer to this blog on how to add tags to videos and search using tags. While API version 2 continues to be supported, we recommend that you use API v3 to automate your video workflow.] Tags are keywords to search and categorize videos using some video meta. The tag your videos system system is very much similar to the tagging in WordPress. Tags can be used to create relational content on your…
ASP implementation of VdoCipher API
Here is a classic ASP code to use VdoCipher API along with dynamic watermarking. You need to simply put in the right client_secret_key and the correct video_id ( the phrase in caps in both files ) https://gist.github.com/vibhavsinha/ffae3259b43647e85829 The code should work out of the box after extracting inside ASP server and replacing secret_key and video_id. The structure of annotation JSON is described in the link : Add text to videos with watermark