aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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