Update readme.md
This commit is contained in:
parent
c8b7bb570c
commit
f56759222d
@ -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)
|
[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
|
### 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
|
```html
|
||||||
<script src="dist/plyr.js"></script>
|
<script src="dist/plyr.js"></script>
|
||||||
<script>
|
<script>plyr.setup();</script>
|
||||||
plyr.setup();
|
|
||||||
</script>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Options
|
#### Options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user