updated readme

This commit is contained in:
Scott Davis 2011-02-01 18:53:24 -05:00
parent 6fa065d1d5
commit 54188aeb9e
3 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
flowplayer (0.0.2) flowplayer (0.0.3)
json json
GEM GEM

View File

@ -5,7 +5,14 @@
##Usage ##Usage
<a id='my_video' style='display:block;width:512px;height312px;'> <a id='my_video' style='display:block;width:512px;height312px;'>
= flowplayer_for :video, '/flowplayer.swf' do |player|
For JQuery
= flowplayer_for :video, '/flowplayer.swf', 'jquery' do |player|
- player.playlist [{:url => "video_still.jpg" }, {:url => "video_512x288.flv", :autoPlay => false, :autoBuffering => true }]
- player.onLoad do
- 'this.unmute();'
For Prototype
= flowplayer_for :video, '/flowplayer.swf', 'prototype' do |player|
- player.playlist [{:url => "video_still.jpg" }, {:url => "video_512x288.flv", :autoPlay => false, :autoBuffering => true }] - player.playlist [{:url => "video_still.jpg" }, {:url => "video_512x288.flv", :autoPlay => false, :autoBuffering => true }]
- player.onLoad do - player.onLoad do
- 'this.unmute();' - 'this.unmute();'

View File

@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.name = %q{flowplayer} s.name = %q{flowplayer}
s.version = '0.0.2' s.version = '0.0.3'
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.authors = ["Scott Davis"] s.authors = ["Scott Davis"]