updated readme
This commit is contained in:
parent
6fa065d1d5
commit
54188aeb9e
|
@ -1,7 +1,7 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
flowplayer (0.0.2)
|
||||
flowplayer (0.0.3)
|
||||
json
|
||||
|
||||
GEM
|
||||
|
|
|
@ -5,7 +5,14 @@
|
|||
##Usage
|
||||
|
||||
<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.onLoad do
|
||||
- 'this.unmute();'
|
||||
|
|
|
@ -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.name = %q{flowplayer}
|
||||
s.version = '0.0.2'
|
||||
s.version = '0.0.3'
|
||||
s.platform = Gem::Platform::RUBY
|
||||
|
||||
s.authors = ["Scott Davis"]
|
||||
|
|
Loading…
Reference in New Issue