version bump

This commit is contained in:
Scott Davis 2011-02-16 14:11:17 -05:00
parent 80df0192d5
commit 26339d54c1

View File

@ -52,6 +52,25 @@ module Flowplayer
EOS EOS
end end
def only_play_button!(opts = {})
options[:plugins] ||= {}
options[:plugins][:controls] ||= {}
hash = {
:mute => false,
:slowForward => false,
:time => false,
:slowBackwards => false,
:volume => false,
:scrubber => false,
:stop => false,
:fullscreen => false,
:play => true
}
hash.merge!(opts)
options[:plugins][:controls].merge!(hash)
end
private private
def functions_to_javascript def functions_to_javascript