@codenkay/video-nsgplayer-react 3.0.4 → 5.0.0
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/CHANGELOG.md +22 -0
- package/README.md +11 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Update meta data
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @codenkay/video-nsgplayer-core@5.0.0
|
|
13
|
+
|
|
14
|
+
## 4.0.0
|
|
15
|
+
|
|
16
|
+
### Major Changes
|
|
17
|
+
|
|
18
|
+
- Fix minor issues
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @codenkay/video-nsgplayer-core@4.0.0
|
|
24
|
+
|
|
3
25
|
## 3.0.4
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
React adapter for `@codenkay/video-nsgplayer-core`.
|
|
4
4
|
|
|
5
|
+
**Try it:** [nsgplayer-sample-react](https://github.com/codenannu/nsgplayer-sample-react) · [nsgplayer-sample-nextjs](https://github.com/codenannu/nsgplayer-sample-nextjs) (npm homepage → React sample).
|
|
6
|
+
|
|
5
7
|
```tsx
|
|
6
8
|
import { VideoPlayer } from "@codenkay/video-nsgplayer-react";
|
|
7
9
|
|
|
@@ -51,3 +53,12 @@ webpack: (config) => {
|
|
|
51
53
|
```
|
|
52
54
|
|
|
53
55
|
Published npm installs do not need this alias (peers resolve from the host app only).
|
|
56
|
+
|
|
57
|
+
## Samples
|
|
58
|
+
|
|
59
|
+
| Lab | Repo | Port |
|
|
60
|
+
|-----|------|------|
|
|
61
|
+
| Vite + UI (public `sourceUrl`) | [nsgplayer-sample-react](https://github.com/codenannu/nsgplayer-sample-react) | 5173 |
|
|
62
|
+
| Next.js BFF + UI (mock/real) | [nsgplayer-sample-nextjs](https://github.com/codenannu/nsgplayer-sample-nextjs) | 3001 |
|
|
63
|
+
|
|
64
|
+
For full chrome, prefer `@codenkay/video-nsgplayer-ui` in those labs. Index: [docs/samples.md](../../docs/samples.md).
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codenkay/video-nsgplayer-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "React bindings for NSG video player",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "NSG Player",
|
|
7
|
-
"homepage": "https://github.com/codenannu/nsgplayer-
|
|
7
|
+
"homepage": "https://github.com/codenannu/nsgplayer-sample-react#readme",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/codenannu/nsgplayer-video.git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@codenkay/video-nsgplayer-core": "^
|
|
35
|
+
"@codenkay/video-nsgplayer-core": "^5.0.0",
|
|
36
36
|
"react": ">=18",
|
|
37
37
|
"react-dom": ">=18"
|
|
38
38
|
},
|