version bump

This commit is contained in:
Scott Davis 2011-02-16 14:11:17 -05:00
parent 80df0192d5
commit 26339d54c1
1 changed files with 19 additions and 0 deletions

View File

@ -52,6 +52,25 @@ module Flowplayer
EOS
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
def functions_to_javascript