update
This commit is contained in:
parent
55733c5dd8
commit
ed49110f17
2 changed files with 6 additions and 8 deletions
|
@ -1,5 +1,8 @@
|
||||||
## v0.1.3
|
## v0.1.3
|
||||||
- Add ability to change keyboard shortcuts
|
- Added ability to change keyboard shortcuts
|
||||||
|
- Added loading indicator
|
||||||
|
- Added failed message
|
||||||
|
- Added Local Icons
|
||||||
|
|
||||||
## v0.1.2
|
## v0.1.2
|
||||||
- Added ability to change colors with `:root`
|
- Added ability to change colors with `:root`
|
||||||
|
|
|
@ -66,16 +66,11 @@ Add the stylesheet and script:
|
||||||
<script src="/player/index.js" type="module"></script>
|
<script src="/player/index.js" type="module"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
Also add the Font Awesome that the Pylx uses:
|
Also add the Font Awesome Kit that is included with Plyx:
|
||||||
```html
|
```html
|
||||||
<script src="https://kit.fontawesome.com/ecedfeb6bc.js" crossorigin="anonymous"></script>
|
<script src="/node_modules/plyx-player/src/icons/fa-kit/js/all.js" crossorigin="anonymous"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>About this Font Awesome Pro Kit</summary>
|
|
||||||
This kit is a Pro kit provided by SudoVanilla, it has only a limited amount icons that can be used since subsetting is used.
|
|
||||||
</details>
|
|
||||||
|
|
||||||
|
|
||||||
Then, add the class name `plyx-player` to the `<video>` element and make sure it's wrapped around a div contained with the class name `video-container`:
|
Then, add the class name `plyx-player` to the `<video>` element and make sure it's wrapped around a div contained with the class name `video-container`:
|
||||||
```html
|
```html
|
||||||
|
|
Reference in a new issue