update
This commit is contained in:
parent
0ee31030d2
commit
a4f1b8a33a
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -14,11 +14,23 @@
|
||||||
|
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
### NPM
|
||||||
Install from NPM:
|
Install from NPM:
|
||||||
```bash
|
```bash
|
||||||
npm install plyx-player
|
npm install plyx-player
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Yarn PnP
|
||||||
|
If you are using Yarn it's PnP feature enabled, please unplug Plyx Player, add the following to your package.json file:
|
||||||
|
```json
|
||||||
|
"dependenciesMeta": {
|
||||||
|
"plyx-player": {
|
||||||
|
"unplugged": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Also make sure you are setting the correct path to the script and css file when adding them to your website or app.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
### HTML5
|
### HTML5
|
||||||
Add the stylesheet and script:
|
Add the stylesheet and script:
|
||||||
|
|
Reference in a new issue