Acts As Video Fu plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/mdarby/acts_as_video_fu.git
Example
=======
./script/generate scaffold Video title:string video_url:string
#video.rb class Video < ActiveRecord::Base acts_as_video_fu end
Video.create!(:title => "Some Title", :video_url => "http://www.youtube.com/watch?v=gEILFf2XSrM")
#show.html.erb <%= display_video(@video) %> # You can override the default video size by passing height & width <%= display_video(@video, :height => 200, :width => 300) %>
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, about 1 month ago

