A ruby gem for using VdoCipher API in a ruby on rails application.

Getting started


Add this line to your Gemfile in your rails application

gem 'vdocipher'
require 'vdocipher'

vdo_api = "CLIENT_SECRET_KEY");
puts vdo_api.play_code("VIDEO_ID", "style=\"height:400px;width:640px;max-width:100%%;\"");

You can add any attributes other than id in the function for video container. The div id is assigned internally and used for loading video elements.