From cb318dd6add5e8955cb33659aa4da397713ebd3d Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Fri, 27 May 2016 08:42:11 +0100 Subject: [PATCH] Update readme.md --- readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index c2910fb9..1fd84a9e 100644 --- a/readme.md +++ b/readme.md @@ -197,7 +197,13 @@ Some touch browsers (particularly Mobile Safari on iOS) seem to have issues with #### Options -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 (e.g. data-plyr='{ title: "testing" }') - note the single quotes encapsulating the JSON. +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 +
+``` + +Note the single quotes encapsulating the JSON and double quotes on the object keys.