From 54188aeb9e518e02696d402946414ba8e4c10dec Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Tue, 1 Feb 2011 18:53:24 -0500 Subject: [PATCH] updated readme --- Gemfile.lock | 2 +- README.mdown | 9 ++++++++- flowplayer.gemspec | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index eaa0b6a..6caa090 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - flowplayer (0.0.2) + flowplayer (0.0.3) json GEM diff --git a/README.mdown b/README.mdown index bf149d1..8194d9f 100644 --- a/README.mdown +++ b/README.mdown @@ -5,7 +5,14 @@ ##Usage - = 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();' diff --git a/flowplayer.gemspec b/flowplayer.gemspec index 5c5848f..79b685d 100644 --- a/flowplayer.gemspec +++ b/flowplayer.gemspec @@ -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"]