Skip to content
No description or website provided.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db/migrate
lib
script
test
.gitignore
Gemfile
MIT-LICENSE
README
README.rdoc
Rakefile
showtube-0.0.1.gem
showtube-0.0.2.gem
showtube.gemspec

README.rdoc

Showtube

PT-BR:

Essa é uma gem que tem a função de exibir videos do youtube em uma app rails.

para utilizar, acrescente em seu model:

has_many :videos

acrescente em sua view: Para exibir o iframe do video:

<%= showtube_tag(video.vid) %>

Para exibir a imagem do video:

<%= showtube_img_tag(video.vid) %>

En:

This is a gem that show youtube videos in a app rails.

for use, add in your model:

has_many :videos

add in your view: For show the video iframe:

<%= showtube_tag(video.vid) %>

For show the video image :

<%= showtube_img_tag(video.vid) %>

Something went wrong with that request. Please try again.