Update readme.md

This commit is contained in:
0xflotus
2019-09-01 18:39:37 +02:00
committed by GitHub
parent dfc09b8e04
commit dce665b792

View File

@ -116,7 +116,7 @@ import Plyr from 'plyr';
const player = new Plyr('#player'); const player = new Plyr('#player');
``` ```
Alertnatively you can include the `plyr.js` script before the closing `</body>` tag and then in your JS create a new instance of Plyr as below. Alternatively you can include the `plyr.js` script before the closing `</body>` tag and then in your JS create a new instance of Plyr as below.
```html ```html
<script src="path/to/plyr.js"></script> <script src="path/to/plyr.js"></script>