Skip to content

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

License

Notifications You must be signed in to change notification settings

VdoCipher/ruby-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-gem

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

Getting started

###Install

Add this line to your Gemfile in your rails application

gem 'vdocipher'
require 'vdocipher'
...

vdo_api = VdoCipher.new(clientSecretKey: "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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages