Skip to content

Commit

Permalink
Renamed vimeo_url to vimeo_params in README
Browse files Browse the repository at this point in the history
* Hope there is no more place to rename it.
  • Loading branch information
paneq committed Aug 29, 2013
1 parent ee2c86f commit c8105c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ You can set video width and height with proper settings:
=> "String heheh <iframe width=\"600\" height=\"300\" src=\"https://www.youtube.com/embed/BVtYSy83XXw\" frameborder=\"0\" allowfullscreen></iframe> yeah"
```

You can set vimeo query string with `vimeo_url` option:
You can set vimeo query string with `vimeo_params` option:

```ruby
"http://vimeo.com/42620553".embedda(:vimeo_url => {:title => 0, :byline => 0, :portrait => 0, :color => "42b7ed"})
"http://vimeo.com/42620553".embedda(:vimeo_params => {:title => 0, :byline => 0, :portrait => 0, :color => "42b7ed"})
=> %q{<iframe src="http://player.vimeo.com/video/20241459?title=0&byline=0&portrait=0&color=42b7ed" width="560" height="315" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>}
```

Expand Down

0 comments on commit c8105c6

Please sign in to comment.