diff options
| author | Tobias Reich <tobias.reich.ich@gmail.com> | 2019-02-14 13:29:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-14 13:29:11 +0100 |
| commit | 7e1d461882f65c134d207690343719fe5c393a4a (patch) | |
| tree | 284776125edaf26dc15551bfc81048b9f2b861ab | |
| parent | c634d3696e625237926e339f5ffe2ef9b8789804 (diff) | |
| download | plyr-7e1d461882f65c134d207690343719fe5c393a4a.tar.lz plyr-7e1d461882f65c134d207690343719fe5c393a4a.tar.xz plyr-7e1d461882f65c134d207690343719fe5c393a4a.zip | |
Removed setting up multiple players
This example is already covered in the readme.
| -rw-r--r-- | readme.md | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 |
