unified-video-framework 1.3.1 → 1.3.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/INSTALLATION.md +23 -17
- package/README.md +13 -7
- package/package.json +1 -2
package/INSTALLATION.md
CHANGED
|
@@ -4,47 +4,55 @@ This guide will help you install and use the Unified Video Framework in your pro
|
|
|
4
4
|
|
|
5
5
|
## 🚀 Installation Methods
|
|
6
6
|
|
|
7
|
-
### Method 1: Install from
|
|
8
|
-
|
|
9
|
-
Since the package is not yet published to npm, you can install it directly from GitHub:
|
|
7
|
+
### Method 1: Install from npm (Recommended)
|
|
10
8
|
|
|
11
9
|
```bash
|
|
12
10
|
# Using npm
|
|
13
|
-
npm install
|
|
11
|
+
npm install unified-video-framework
|
|
12
|
+
|
|
13
|
+
# Using yarn
|
|
14
|
+
yarn add unified-video-framework
|
|
15
|
+
|
|
16
|
+
# Using pnpm
|
|
17
|
+
pnpm add unified-video-framework
|
|
18
|
+
```
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
### Method 2: Install from GitHub (Latest Development)
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Install from the main branch
|
|
24
|
+
npm install github:flicknexs/unified-video-framework
|
|
17
25
|
|
|
18
26
|
# Or install from a specific branch/tag
|
|
19
27
|
npm install github:flicknexs/unified-video-framework#main
|
|
20
28
|
```
|
|
21
29
|
|
|
22
|
-
### Method
|
|
30
|
+
### Method 3: Install from Local Path
|
|
23
31
|
|
|
24
32
|
If you have cloned the repository locally:
|
|
25
33
|
|
|
26
34
|
```bash
|
|
27
35
|
# First, build the packages
|
|
28
|
-
cd
|
|
36
|
+
cd /path/to/unified-video-framework
|
|
29
37
|
npm install
|
|
30
38
|
npm run build
|
|
31
39
|
|
|
32
40
|
# Then in your project, install from local path
|
|
33
|
-
cd
|
|
34
|
-
npm install
|
|
41
|
+
cd /path/to/your-project
|
|
42
|
+
npm install /path/to/unified-video-framework
|
|
35
43
|
```
|
|
36
44
|
|
|
37
|
-
### Method
|
|
45
|
+
### Method 4: Using npm link (For Development)
|
|
38
46
|
|
|
39
47
|
This is useful when you're actively developing both the framework and your application:
|
|
40
48
|
|
|
41
49
|
```bash
|
|
42
50
|
# In the framework directory
|
|
43
|
-
cd
|
|
51
|
+
cd /path/to/unified-video-framework
|
|
44
52
|
npm link
|
|
45
53
|
|
|
46
54
|
# In your project directory
|
|
47
|
-
cd
|
|
55
|
+
cd /path/to/your-project
|
|
48
56
|
npm link unified-video-framework
|
|
49
57
|
```
|
|
50
58
|
|
|
@@ -273,7 +281,5 @@ npm install github:flicknexs/unified-video-framework
|
|
|
273
281
|
|
|
274
282
|
---
|
|
275
283
|
|
|
276
|
-
**
|
|
277
|
-
|
|
278
|
-
npm install unified-video-framework
|
|
279
|
-
```
|
|
284
|
+
**Latest Version:** v1.3.1
|
|
285
|
+
**npm Package:** https://www.npmjs.com/package/unified-video-framework
|
package/README.md
CHANGED
|
@@ -31,18 +31,24 @@ A comprehensive cross-platform video player framework that provides a unified AP
|
|
|
31
31
|
|
|
32
32
|
## 📦 Installation
|
|
33
33
|
|
|
34
|
-
### Using npm
|
|
34
|
+
### Using npm
|
|
35
35
|
```bash
|
|
36
|
-
|
|
37
|
-
npm install github:flicknexs/unified-video-framework
|
|
38
|
-
|
|
39
|
-
# Or install from local path if you've cloned the repo
|
|
40
|
-
npm install /path/to/unified-video-framework
|
|
36
|
+
npm install unified-video-framework
|
|
41
37
|
```
|
|
42
38
|
|
|
43
39
|
### Using yarn
|
|
44
40
|
```bash
|
|
45
|
-
yarn add
|
|
41
|
+
yarn add unified-video-framework
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Using pnpm
|
|
45
|
+
```bash
|
|
46
|
+
pnpm add unified-video-framework
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### From GitHub (latest development version)
|
|
50
|
+
```bash
|
|
51
|
+
npm install github:flicknexs/unified-video-framework
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
### Using npm link (for development)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unified-video-framework",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Cross-platform video player framework supporting iOS, Android, Web, Smart TVs (Samsung/LG), Roku, and more",
|
|
5
5
|
"main": "packages/core/dist/index.js",
|
|
6
6
|
"types": "packages/core/dist/index.d.ts",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"tools/*"
|
|
44
44
|
],
|
|
45
45
|
"scripts": {
|
|
46
|
-
"postinstall": "npm run build:core",
|
|
47
46
|
"bootstrap": "lerna bootstrap --legacy-peer-deps",
|
|
48
47
|
"build": "npm run build:core && npm run build:web && npm run build:rental-api",
|
|
49
48
|
"build:core": "cd packages/core && npm run build",
|