This commit is contained in:
Korbs 2023-11-09 00:48:21 -05:00
parent 0ee31030d2
commit a4f1b8a33a
No known key found for this signature in database

View file

@ -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: