flowplayer-gem/lib/rails/helper.rb

19 lines
279 B
Ruby
Raw Normal View History

2011-01-31 21:06:59 +00:00
module Flowplayer
module Helpers
# flowplayer_for :hubble do |f|
# f.option 'foo'
# f.onLoad do
# 'this.unmute();'
# end
def flowplayer_for(id, &block)
FlowPlayer::Player.new(id, &block)
end
end
end