README.md in onebox-1.9.28.4 vs README.md in onebox-1.9.29
- old
+ new
@@ -44,9 +44,17 @@
url = "http://www.amazon.com/gp/product/B005T3GRNW/ref=s9_simh_gw_p147_d0_i2"
preview = Onebox.preview(url)
"#{preview}" == preview.to_s #=> true
```
+### Twitch Onebox
+
+To be able to embed Twitch video and clips, pass `hostname` in the options to `Onebox.preview`
+
+```ruby
+preview = Onebox.preview(url, hostname: 'www.example.com')
+```
+
Ruby Support
------------
The onebox library is supported on all "officially" supported versions of Ruby.