Merge branch 'master' of github.com:sampotts/plyr

This commit is contained in:
Sam Potts 2018-03-22 00:04:34 +11:00
commit 1b1f7be7ff

View File

@ -236,7 +236,7 @@ The NodeList, HTMLElement or string selector can be the target `<video>`, `<audi
const players = Array.from(document.querySelectorAll('.js-player')).map(player => new Plyr(player)); const players = Array.from(document.querySelectorAll('.js-player')).map(player => new Plyr(player));
``` ```
The second argument for the constructor is the [#options](options) object: The second argument for the constructor is the [options](#options) object:
```javascript ```javascript
const player = new Plyr('#player', { const player = new Plyr('#player', {