Sha256: 1729850c4999455368a365384481a7f2980b68d61c8779ae7610f4db1bac019f
Contents?: true
Size: 390 Bytes
Versions: 7
Compression:
Stored size: 390 Bytes
Contents
# Videos Videos is an API for going from a URL to video embed code. Right now only the basics are implemented. YouTube, Vimeo and `<video>` tags are supported. ## Usage ```ruby # Gemfile gem 'rb42-videos', '~> 1.0' # or gem 'videos', '~> 1.0', git: 'https://github.com/ryanburnette/videos.git' ``` ``` require 'videos' v = Videos.factory('https://youtu.be/abc123') v.id v.to_html ```
Version data entries
7 entries across 7 versions & 1 rubygems