Skip to content

kapil-kumar/youtube_video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoutubeVideo

It is a gem to play youtube videos in our site.

Installation

Add this line to your application's Gemfile:

gem 'youtube_video'

And then execute:

$ bundle

Or install it yourself as:

$ gem install youtube_video

Usage

Get the id of your youtube url. for example the youtube url is "https://www.youtube.com/watch?v=GTGaenVHg14" from here we need to take the id that is "GTGaenVHg14".

And then next simply you need to pass this as like

youtube_url_code(id,width,height)

Thats it.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/youtube_video/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages