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
remote: .
specs:
flowplayer (0.0.3)
flowplayer (0.0.4)
json
GEM
specs:
diff-lcs (1.1.2)
json (1.4.6)
json (1.5.1)
mocha (0.9.10)
rake
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.name = %q{flowplayer}
s.version = '0.0.3'
s.version = '0.0.5'
s.platform = Gem::Platform::RUBY
s.authors = ["Scott Davis"]

View File

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