added readme

This commit is contained in:
Scott Davis 2011-02-01 18:35:21 -05:00
parent c8a551b552
commit f01a51e9db
1 changed files with 18 additions and 0 deletions

18
README.mdown Normal file
View File

@ -0,0 +1,18 @@
# Flowplayer Helper for Rails 3 applications
`gem 'flowplayer'` in your gem file
##Usage
<a id='my_video' style='display:block;width:512px;height312px;'>
= flowplayer_for :video, '/flowplayer.swf' do |player|
- player.playlist [{:url => "video_still.jpg" }, {:url => "video_512x288.flv", :autoPlay => false, :autoBuffering => true }]
- player.onLoad do
- 'this.unmute();'
## Configs are the same ones here
http://flowplayer.org/documentation/api/index.html
## TODO
More documentation