Sha256: 6874d070cf93f093b949b70e3351ffa241af691fecac0d823b1ee6b1678a51e4
Contents?: true
Size: 928 Bytes
Versions: 1
Compression:
Stored size: 928 Bytes
Contents
# YoutubeId Simple video id extraction from youtube urls. [![Build Status](https://secure.travis-ci.org/reu/youtube_id.png)](http://travis-ci.org/reu/youtube_id) ## Installation Add this line to your application's Gemfile: gem 'youtube_id' And then execute: $ bundle Or install it yourself as: $ gem install youtube_id ## Usage ```ruby YoutubeID.from("http://www.youtube.com/watch?v=RCUkmUXMd_k") # => "RCUkmUXMd_k" ``` It supports these url formats: ``` http://www.youtube.com/v/RCUkmUXMd_k http://www.youtube.com/v/RCUkmUXMd_k?version=3&hl=en_US&rel=0 http://www.youtube.com/embed/RCUkmUXMd_k?rel=0 http://www.youtube.com/watch?v=RCUkmUXMd_k http://www.youtube.com/watch?v=RCUkmUXMd_k&feature=related http://www.youtube.com/watch?v=RCUkmUXMd_k#t=0m10s http://www.youtube.com/user/ForceD3strategy#p/a/u/0/8WVTOUh53QY http://youtu.be/RCUkmUXMd_k ``` See the specs for more detailed information.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
youtube_id-0.1.0 | README.md |