ckplayer-plus 1.1.3 → 1.1.4

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/package.json CHANGED
@@ -1,118 +1,118 @@
1
- {
2
- "name": "ckplayer-plus",
3
- "version": "1.1.3",
4
- "description": "Enhanced ckplayer X3 packaging with Vue 2/3 and React wrappers — ESM-ready HTML5 video player",
5
- "keywords": [
6
- "ckplayer",
7
- "ckplayer-plus",
8
- "video",
9
- "player",
10
- "hls",
11
- "flv",
12
- "m3u8",
13
- "mpegts",
14
- "vue",
15
- "react",
16
- "html5"
17
- ],
18
- "license": "MIT",
19
- "author": "yuanlonghui (https://gitee.com/yuanlonghui)",
20
- "repository": {
21
- "type": "git",
22
- "url": "https://gitee.com/yuanlonghui/video-playback.git"
23
- },
24
- "bugs": {
25
- "url": "https://gitee.com/yuanlonghui/video-playback/issues"
26
- },
27
- "homepage": "https://gitee.com/yuanlonghui/video-playback#readme",
28
- "main": "./dist/index.cjs",
29
- "module": "./dist/index.js",
30
- "types": "./types/index.d.ts",
31
- "unpkg": "./dist/ckplayer.min.js",
32
- "jsdelivr": "./dist/ckplayer.min.js",
33
- "sideEffects": [
34
- "*.css",
35
- "./dist/ckplayer.js",
36
- "./dist/ckplayer.min.js"
37
- ],
38
- "exports": {
39
- ".": {
40
- "types": "./types/index.d.ts",
41
- "import": "./dist/index.js",
42
- "require": "./dist/index.cjs"
43
- },
44
- "./vue": {
45
- "types": "./types/vue.d.ts",
46
- "import": "./dist/vue.js",
47
- "require": "./dist/vue.cjs"
48
- },
49
- "./react": {
50
- "types": "./types/react.d.ts",
51
- "import": "./dist/react.js",
52
- "require": "./dist/react.cjs"
53
- },
54
- "./style.css": "./dist/ckplayer.css",
55
- "./ckplayer.css": "./dist/ckplayer.css",
56
- "./ckplayer.js": "./dist/ckplayer.js",
57
- "./ckplayer.min.js": "./dist/ckplayer.min.js",
58
- "./images/*": "./dist/images/*",
59
- "./package.json": "./package.json"
60
- },
61
- "files": [
62
- "dist",
63
- "types",
64
- "LICENSE",
65
- "README.md"
66
- ],
67
- "scripts": {
68
- "build": "node scripts/build.mjs",
69
- "lint": "eslint src scripts",
70
- "typecheck": "tsc --noEmit",
71
- "test": "node scripts/smoke.mjs",
72
- "check": "npm run lint && npm run typecheck && npm run build && npm run test",
73
- "prepublishOnly": "npm run build"
74
- },
75
- "peerDependencies": {
76
- "vue": "^2.7.0 || ^3.0.0",
77
- "react": ">=16.8.0",
78
- "react-dom": ">=16.8.0",
79
- "hls.js": "^1.0.0",
80
- "flv.js": "^1.0.0",
81
- "mpegts.js": "^1.0.0"
82
- },
83
- "peerDependenciesMeta": {
84
- "vue": {
85
- "optional": true
86
- },
87
- "react": {
88
- "optional": true
89
- },
90
- "react-dom": {
91
- "optional": true
92
- },
93
- "hls.js": {
94
- "optional": true
95
- },
96
- "flv.js": {
97
- "optional": true
98
- },
99
- "mpegts.js": {
100
- "optional": true
101
- }
102
- },
103
- "devDependencies": {
104
- "@types/react": "^19.0.0",
105
- "esbuild": "^0.25.0",
106
- "eslint": "^9.0.0",
107
- "react": "^19.0.0",
108
- "react-dom": "^19.0.0",
109
- "typescript": "^5.4.0",
110
- "vue": "^3.5.0"
111
- },
112
- "publishConfig": {
113
- "access": "public"
114
- },
115
- "engines": {
116
- "node": ">=16"
117
- }
118
- }
1
+ {
2
+ "name": "ckplayer-plus",
3
+ "version": "1.1.4",
4
+ "description": "Enhanced ckplayer X3 packaging with Vue 2/3 and React wrappers — ESM-ready HTML5 video player",
5
+ "keywords": [
6
+ "ckplayer",
7
+ "ckplayer-plus",
8
+ "video",
9
+ "player",
10
+ "hls",
11
+ "flv",
12
+ "m3u8",
13
+ "mpegts",
14
+ "vue",
15
+ "react",
16
+ "html5"
17
+ ],
18
+ "license": "MIT",
19
+ "author": "yuanlonghui (https://gitee.com/yuanlonghui)",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://gitee.com/yuanlonghui/video-playback.git"
23
+ },
24
+ "bugs": {
25
+ "url": "https://gitee.com/yuanlonghui/video-playback/issues"
26
+ },
27
+ "homepage": "https://gitee.com/yuanlonghui/video-playback#readme",
28
+ "main": "./dist/index.cjs",
29
+ "module": "./dist/index.js",
30
+ "types": "./types/index.d.ts",
31
+ "unpkg": "./dist/ckplayer.min.js",
32
+ "jsdelivr": "./dist/ckplayer.min.js",
33
+ "sideEffects": [
34
+ "*.css",
35
+ "./dist/ckplayer.js",
36
+ "./dist/ckplayer.min.js"
37
+ ],
38
+ "exports": {
39
+ ".": {
40
+ "types": "./types/index.d.ts",
41
+ "import": "./dist/index.js",
42
+ "require": "./dist/index.cjs"
43
+ },
44
+ "./vue": {
45
+ "types": "./types/vue.d.ts",
46
+ "import": "./dist/vue.js",
47
+ "require": "./dist/vue.cjs"
48
+ },
49
+ "./react": {
50
+ "types": "./types/react.d.ts",
51
+ "import": "./dist/react.js",
52
+ "require": "./dist/react.cjs"
53
+ },
54
+ "./style.css": "./dist/ckplayer.css",
55
+ "./ckplayer.css": "./dist/ckplayer.css",
56
+ "./ckplayer.js": "./dist/ckplayer.js",
57
+ "./ckplayer.min.js": "./dist/ckplayer.min.js",
58
+ "./images/*": "./dist/images/*",
59
+ "./package.json": "./package.json"
60
+ },
61
+ "files": [
62
+ "dist",
63
+ "types",
64
+ "LICENSE",
65
+ "README.md"
66
+ ],
67
+ "scripts": {
68
+ "build": "node scripts/build.mjs",
69
+ "lint": "eslint src scripts",
70
+ "typecheck": "tsc --noEmit",
71
+ "test": "node scripts/smoke.mjs && node scripts/hls-resume-regress.mjs",
72
+ "check": "npm run lint && npm run typecheck && npm run build && npm run test",
73
+ "prepublishOnly": "npm run build"
74
+ },
75
+ "peerDependencies": {
76
+ "vue": "^2.7.0 || ^3.0.0",
77
+ "react": ">=16.8.0",
78
+ "react-dom": ">=16.8.0",
79
+ "hls.js": "^1.0.0",
80
+ "flv.js": "^1.0.0",
81
+ "mpegts.js": "^1.0.0"
82
+ },
83
+ "peerDependenciesMeta": {
84
+ "vue": {
85
+ "optional": true
86
+ },
87
+ "react": {
88
+ "optional": true
89
+ },
90
+ "react-dom": {
91
+ "optional": true
92
+ },
93
+ "hls.js": {
94
+ "optional": true
95
+ },
96
+ "flv.js": {
97
+ "optional": true
98
+ },
99
+ "mpegts.js": {
100
+ "optional": true
101
+ }
102
+ },
103
+ "devDependencies": {
104
+ "@types/react": "^19.0.0",
105
+ "esbuild": "^0.25.0",
106
+ "eslint": "^9.0.0",
107
+ "react": "^19.0.0",
108
+ "react-dom": "^19.0.0",
109
+ "typescript": "^5.4.0",
110
+ "vue": "^3.5.0"
111
+ },
112
+ "publishConfig": {
113
+ "access": "public"
114
+ },
115
+ "engines": {
116
+ "node": ">=16"
117
+ }
118
+ }
package/types/vue.d.ts CHANGED
@@ -36,7 +36,7 @@ declare const CkPlayer: {
36
36
  methods: {
37
37
  play(): void;
38
38
  pause(): void;
39
- seekTo(time: number): void;
39
+ seekTo(time: number): void;
40
40
  setVolume(vol: number): void;
41
41
  muted(): void;
42
42
  exitMuted(): void;