@glitchlab/react-video-player 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,9 +20,7 @@ UI — built with Tailwind CSS.
|
|
|
20
20
|
## Installation
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
npm install react-video-player
|
|
24
|
-
# or
|
|
25
|
-
yarn add react-video-player
|
|
23
|
+
npm install @glitchlab/react-video-player
|
|
26
24
|
```
|
|
27
25
|
|
|
28
26
|
> **Peer dependencies:** `react`, `react-dom`, `hls.js`, `clsx`, `tailwindcss`
|
|
@@ -32,7 +30,8 @@ yarn add react-video-player
|
|
|
32
30
|
## Usage
|
|
33
31
|
|
|
34
32
|
```tsx
|
|
35
|
-
import {ReactVideoPlayer} from "react-video-player";
|
|
33
|
+
import {ReactVideoPlayer} from "@glitchlab/react-video-player";
|
|
34
|
+
import "@glitchlab/react-video-player/style.css";
|
|
36
35
|
|
|
37
36
|
export default function App() {
|
|
38
37
|
return (
|