diff --git a/README.md b/README.md
index 93fdf5b..6379dea 100644
--- a/README.md
+++ b/README.md
@@ -19,14 +19,18 @@ To start using Hola settings plugin, follow these steps:
1. Add these includes to your document's `
`:
```html
-
+
```
2. Set `plugins` option for your Video.js setup:
In video tag `data-setup` attribute in your html
```html
- data-setup='{"plugins":{"settings": {"info": true, "report": true, ...}}}'
+
```
or in javascript videojs call:
```javascript
@@ -37,7 +41,7 @@ To start using Hola settings plugin, follow these steps:
report: true,
quality: {
sources: [
- {src:"http://cdn.example.com/static/mp4/example_1080p.mp4", type: "video/mp4", label: "high", onclick: function(){ login(); },
+ {src:"http://cdn.example.com/static/mp4/example_1080p.mp4", type: "video/mp4", label: "high"},
{src:"http://cdn.example.com/static/mp4/example_720p.mp4", type: "video/mp4", label: "medium"},
{src:"http://cdn.example.com/static/mp4/example_360p.mp4", type: "video/mp4", label: "low", "default": true}
]
@@ -60,9 +64,14 @@ The following configuration options are supported by this plugin:
| quality.sources[i].src | `````` | | Media source URL |
| quality.sources[i].type | `````` | | Media source type |
| quality.sources[i].label | `````` | | Media source label: shown in settings menu |
-| quality.sources[i]['default'] | `````` | false | Media source to be selected by default. NOTE: this may be overriden by persistent configuration.|
-| quality.sources[i].onclick | `````` | | Add an onclick hook called when user selects this quality. Returning non-true value will ignore user request. Important when, for instance, HD quality is available for logged-in users only. |
+| quality.sources[i]['default'] | `````` | false | Media source to be selected by default. NOTE: this may be overriden by persistent configuration. |
| volume | ```