Removed setting up multiple players

This example is already covered in the readme.
This commit is contained in:
Tobias Reich
2019-02-14 13:29:11 +01:00
committed by GitHub
parent c634d3696e
commit 7e1d461882

View File

@ -251,10 +251,6 @@ const player = new Plyr(document.getElementById('player'));
const player = new Plyr(document.querySelector('#player'));
```
```javascript
const instances = [...document.querySelectorAll('.player')].map((elem) => new Plyr(elem))
```
The HTMLElement or string selector can be the target `<video>`, `<audio>`, or `<div>` wrapper for embeds.
##### Setting up multiple players