Sha256: 3321dc9071d9dfd0d2749a31f9391da6702d4a819fbfc0b123b3d9a375795b4b
Contents?: true
Size: 927 Bytes
Versions: 2
Compression:
Stored size: 927 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
youtube_id-0.0.3 | README.md |
youtube_id-0.0.2 | README.md |