mdarby / acts_as_video_fu
- Source
- Commits
- Network (6)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
f1b7ef0
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Sun Oct 05 07:35:16 -0700 2008 | |
| |
README | ||
| |
Rakefile | Sun Oct 05 07:35:16 -0700 2008 | |
| |
init.rb | ||
| |
install.rb | Sun Oct 05 07:35:16 -0700 2008 | |
| |
lib/ | ||
| |
tasks/ | Sun Oct 05 07:35:16 -0700 2008 | |
| |
test/ | Sun Oct 05 07:35:16 -0700 2008 | |
| |
uninstall.rb | Sun Oct 05 07:35:16 -0700 2008 |
README
ActsAsVideoFu ============= Rails plugin that easily allows you to show video streams on your site. Currently, YouTube and Vimeo streams are supported. #video_url is expected to be in these formats: YouTube: http://www.youtube.com/watch?v=gEILFf2XSrM Vimeo: http://vimeo.com/726135 Example ======= ./script/generate scaffold Video title:string video_url:string Video.create!(:title => "Some Title", :video_url => "http://www.youtube.com/watch?v=gEILFf2XSrM") #show.html.erb <%= display_video(@video) %> Copyright (c) 2008 [Matt Darby], released under the MIT license

