aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <sam@selz.com>2017-11-07 09:16:41 +1100
committerGitHub <noreply@github.com>2017-11-07 09:16:41 +1100
commit0ec0addbda014850dd948cff50f81473f4099df5 (patch)
tree77a1f76fd70e442a41b88123e85aaeb20c9a7b5f
parentd206b8ab34c493c5424d25ee7cee11afdd875ee6 (diff)
downloadplyr-0ec0addbda014850dd948cff50f81473f4099df5.tar.lz
plyr-0ec0addbda014850dd948cff50f81473f4099df5.tar.xz
plyr-0ec0addbda014850dd948cff50f81473f4099df5.zip
Update readme.md
-rw-r--r--readme.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index cb87b56c..ad11662d 100644
--- a/readme.md
+++ b/readme.md
@@ -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.