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…
vdocipher api
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.