aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <sam@selz.com>2015-04-10 13:38:49 +1000
committerSam Potts <sam@selz.com>2015-04-10 13:38:49 +1000
commitf56759222d38847c66228af0ddbfe0a942b22b99 (patch)
tree0d4cfa5b157d871aca823e234a33d005e252ecc5
parentc8b7bb570cafc76bba3a70e5d4a3a20a3b3f40e1 (diff)
downloadplyr-f56759222d38847c66228af0ddbfe0a942b22b99.tar.lz
plyr-f56759222d38847c66228af0ddbfe0a942b22b99.tar.xz
plyr-f56759222d38847c66228af0ddbfe0a942b22b99.zip
Update readme.md
-rw-r--r--readme.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 8f2d1167..d505a819 100644
--- a/readme.md
+++ b/readme.md
@@ -138,13 +138,11 @@ More info on CORS here:
[https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
### JavaScript
-Much of the behaviour of the player is configurable when initialising the library. Below is an example of a default instance.
+Much of the behaviour of the player is configurable when initialising the library. Here's an example of a default setup:
```html
<script src="dist/plyr.js"></script>
-<script>
-plyr.setup();
-</script>
+<script>plyr.setup();</script>
```
#### Options