Update readme.md

This commit is contained in:
Sam Potts
2017-11-07 09:16:41 +11:00
committed by GitHub
parent d206b8ab34
commit 0ec0addbda

View File

@ -229,7 +229,7 @@ Some touch browsers (particularly Mobile Safari on iOS) seem to have issues with
Options must be passed as an object to the `setup()` method as above or as JSON in `data-plyr` attribute on each of your target elements:
```html
<video data-plyr='{ title: "testing" }'></video>
<video data-plyr='{ "title": "testing", "volume": 10 }'></video>
```
Note the single quotes encapsulating the JSON and double quotes on the object keys.