the second arg can take wmode now

This commit is contained in:
Scott Davis 2011-02-17 23:18:52 -05:00
parent 26339d54c1
commit 1566d96fa9
3 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
PATH PATH
remote: . remote: .
specs: specs:
flowplayer (0.0.3) flowplayer (0.0.4)
json json
GEM GEM
specs: specs:
diff-lcs (1.1.2) diff-lcs (1.1.2)
json (1.4.6) json (1.5.1)
mocha (0.9.10) mocha (0.9.10)
rake rake
nokogiri (1.4.4) nokogiri (1.4.4)

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.3' s.version = '0.0.5'
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.authors = ["Scott Davis"] s.authors = ["Scott Davis"]

View File

@ -17,7 +17,7 @@ module Flowplayer
end end
def script_tags def script_tags
final = library("flowplayer(\"#{dom_id}\", \"#{swf}\", #{to_js});") final = library("flowplayer(\"#{dom_id}\", #{swf.to_json}, #{to_js});")
<<-EOS <<-EOS
<script type='text/javascript'> <script type='text/javascript'>
//<![CDATA[ //<![CDATA[