scottdavis/flowplayer-gem — pull request #7 by nLight (2013-01-24 08:46:21+00:00)
Title: A convenient way to pass parameters to javascript functinons

So when we call a helper block with parameters
```ruby
flowplayer_for :hubble do |f|
f.option 'foo'
f.onLoad do
'this.unmute();'
end
f.onStart do |clip|
'alert(clip.metaData.width);'
end
```
they will be passed to javascript
```javascript
onLoad: function() { this.unmute(); },
onStart: function(clip) { alert(clip.metaData.width); }
```