@volcengine/veplayer-plugin 2.10.3-rc.0 → 2.10.4-rc.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/esm/ad.d.ts +3 -0
- package/esm/hlsjs.d.ts +3 -0
- package/esm/index.development.js +2529 -2363
- package/esm/index.production.js +7 -7
- package/esm/time-shift.d.ts +3 -0
- package/esm/veplayer.plugin.abr.development.js +1 -1
- package/esm/veplayer.plugin.abr.production.js +1 -1
- package/esm/veplayer.plugin.drm.development.js +1 -1
- package/esm/veplayer.plugin.drm.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +5 -4
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.hls.development.js +1 -1
- package/esm/veplayer.plugin.hls.production.js +1 -1
- package/esm/veplayer.plugin.hlsjs.development.js +496 -218
- package/esm/veplayer.plugin.hlsjs.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +305 -156
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/esm/veplayer.plugin.time.shift.development.js +13 -16
- package/esm/veplayer.plugin.time.shift.production.js +1 -1
- package/esm/veplayer.plugin.xgvideo.development.js +1 -1
- package/esm/veplayer.plugin.xgvideo.production.js +1 -1
- package/esm/veplayer.strategy.base.development.js +1 -1
- package/esm/veplayer.strategy.base.production.js +1 -1
- package/esm/veplayer.strategy.rtm.adaptive.buffer.development.js +1 -1
- package/esm/veplayer.strategy.rtm.adaptive.buffer.production.js +1 -1
- package/package.json +106 -2
- package/umd/ad.d.ts +3 -0
- package/umd/hlsjs.d.ts +3 -0
- package/umd/time-shift.d.ts +3 -0
- package/umd/veplayer.plugin.flv.development.js +4 -3
- package/umd/veplayer.plugin.flv.production.js +1 -1
- package/umd/veplayer.plugin.hlsjs.development.js +495 -217
- package/umd/veplayer.plugin.hlsjs.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +304 -155
- package/umd/veplayer.plugin.rtm.production.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volcengine/veplayer-plugin",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.4-rc.0",
|
|
4
4
|
"main": "./umd/index.production.js",
|
|
5
5
|
"module": "./esm/index.production.js",
|
|
6
6
|
"browser": "./umd/index.production.js",
|
|
@@ -66,6 +66,26 @@
|
|
|
66
66
|
"default": "./umd/veplayer.plugin.hls.development.js"
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
+
"./hlsjs": {
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./esm/hlsjs.d.ts",
|
|
72
|
+
"default": "./esm/veplayer.plugin.hlsjs.production.js"
|
|
73
|
+
},
|
|
74
|
+
"require": {
|
|
75
|
+
"types": "./umd/hlsjs.d.ts",
|
|
76
|
+
"default": "./umd/veplayer.plugin.hlsjs.production.js"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"./hlsjs/development": {
|
|
80
|
+
"import": {
|
|
81
|
+
"types": "./esm/hlsjs.d.ts",
|
|
82
|
+
"default": "./esm/veplayer.plugin.hlsjs.development.js"
|
|
83
|
+
},
|
|
84
|
+
"require": {
|
|
85
|
+
"types": "./umd/hlsjs.d.ts",
|
|
86
|
+
"default": "./umd/veplayer.plugin.hlsjs.development.js"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
69
89
|
"./mp4": {
|
|
70
90
|
"import": {
|
|
71
91
|
"types": "./esm/mp4.d.ts",
|
|
@@ -166,7 +186,88 @@
|
|
|
166
186
|
"default": "./umd/veplayer.plugin.abr.development.js"
|
|
167
187
|
}
|
|
168
188
|
},
|
|
169
|
-
"./time-shift
|
|
189
|
+
"./time-shift": {
|
|
190
|
+
"import": {
|
|
191
|
+
"types": "./esm/time-shift.d.ts",
|
|
192
|
+
"default": "./esm/veplayer.plugin.time.shift.production.js"
|
|
193
|
+
},
|
|
194
|
+
"require": {
|
|
195
|
+
"types": "./umd/time-shift.d.ts",
|
|
196
|
+
"default": "./umd/veplayer.plugin.time.shift.production.js"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"./time-shift/development": {
|
|
200
|
+
"import": {
|
|
201
|
+
"types": "./esm/time-shift.d.ts",
|
|
202
|
+
"default": "./esm/veplayer.plugin.time.shift.development.js"
|
|
203
|
+
},
|
|
204
|
+
"require": {
|
|
205
|
+
"types": "./umd/time-shift.d.ts",
|
|
206
|
+
"default": "./umd/veplayer.plugin.time.shift.development.js"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"./time-shift/style": "./esm/veplayer.plugin.time.shift.production.css",
|
|
210
|
+
"./ad": {
|
|
211
|
+
"import": {
|
|
212
|
+
"types": "./esm/ad.d.ts",
|
|
213
|
+
"default": "./esm/veplayer.plugin.ad.production.js"
|
|
214
|
+
},
|
|
215
|
+
"require": {
|
|
216
|
+
"types": "./umd/ad.d.ts",
|
|
217
|
+
"default": "./umd/veplayer.plugin.ad.production.js"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"./ad/development": {
|
|
221
|
+
"import": {
|
|
222
|
+
"types": "./esm/ad.d.ts",
|
|
223
|
+
"default": "./esm/veplayer.plugin.ad.development.js"
|
|
224
|
+
},
|
|
225
|
+
"require": {
|
|
226
|
+
"types": "./umd/ad.d.ts",
|
|
227
|
+
"default": "./umd/veplayer.plugin.ad.development.js"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"./ad/style": "./esm/veplayer.plugin.ad.production.css",
|
|
231
|
+
"./drm": {
|
|
232
|
+
"import": {
|
|
233
|
+
"types": "./esm/drm.d.ts",
|
|
234
|
+
"default": "./esm/veplayer.plugin.drm.production.js"
|
|
235
|
+
},
|
|
236
|
+
"require": {
|
|
237
|
+
"types": "./umd/drm.d.ts",
|
|
238
|
+
"default": "./umd/veplayer.plugin.drm.production.js"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"./drm/development": {
|
|
242
|
+
"import": {
|
|
243
|
+
"types": "./esm/drm.d.ts",
|
|
244
|
+
"default": "./esm/veplayer.plugin.drm.development.js"
|
|
245
|
+
},
|
|
246
|
+
"require": {
|
|
247
|
+
"types": "./umd/drm.d.ts",
|
|
248
|
+
"default": "./umd/veplayer.plugin.drm.development.js"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"./rtm-adaptive-buffer": {
|
|
252
|
+
"import": {
|
|
253
|
+
"types": "./esm/rtm-adaptive-buffer.d.ts",
|
|
254
|
+
"default": "./esm/veplayer.strategy.rtm.adaptive.buffer.production.js"
|
|
255
|
+
},
|
|
256
|
+
"require": {
|
|
257
|
+
"types": "./umd/rtm-adaptive-buffer.d.ts",
|
|
258
|
+
"default": "./umd/veplayer.strategy.rtm.adaptive.buffer.production.js"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"./rtm-adaptive-buffer/development": {
|
|
262
|
+
"import": {
|
|
263
|
+
"types": "./esm/rtm-adaptive-buffer.d.ts",
|
|
264
|
+
"default": "./esm/veplayer.strategy.rtm.adaptive.buffer.development.js"
|
|
265
|
+
},
|
|
266
|
+
"require": {
|
|
267
|
+
"types": "./umd/rtm-adaptive-buffer.d.ts",
|
|
268
|
+
"default": "./umd/veplayer.strategy.rtm.adaptive.buffer.development.js"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
170
271
|
},
|
|
171
272
|
"types": "./esm/index.d.ts",
|
|
172
273
|
"license": "BSD-3-Clause",
|
|
@@ -174,5 +275,8 @@
|
|
|
174
275
|
"esm",
|
|
175
276
|
"umd",
|
|
176
277
|
"!**/*.map"
|
|
278
|
+
],
|
|
279
|
+
"sideEffects": [
|
|
280
|
+
"*.css"
|
|
177
281
|
]
|
|
178
282
|
}
|
package/umd/ad.d.ts
ADDED
package/umd/hlsjs.d.ts
ADDED
|
@@ -3835,7 +3835,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3835
3835
|
key: "isSupported",
|
|
3836
3836
|
value: function isSupported() {
|
|
3837
3837
|
var mime = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 'video/mp4; codecs="avc1.42E01E,mp4a.40.2"';
|
|
3838
|
-
var preferMMS = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
3838
|
+
var preferMMS = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
3839
3839
|
var MediaSource2 = getMediaSource(preferMMS);
|
|
3840
3840
|
if (!MediaSource2)
|
|
3841
3841
|
return false;
|
|
@@ -11030,7 +11030,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11030
11030
|
_createClass$4(Flv2, [{
|
|
11031
11031
|
key: "version",
|
|
11032
11032
|
get: function get() {
|
|
11033
|
-
return "3.0.23-rc.
|
|
11033
|
+
return "3.0.23-rc.7";
|
|
11034
11034
|
}
|
|
11035
11035
|
}, {
|
|
11036
11036
|
key: "isLive",
|
|
@@ -11634,7 +11634,8 @@ var __publicField = (obj, key, value) => {
|
|
|
11634
11634
|
}, {
|
|
11635
11635
|
key: "transferCost",
|
|
11636
11636
|
get: function get() {
|
|
11637
|
-
|
|
11637
|
+
var _this$flv5, _this$flv5$_transferC;
|
|
11638
|
+
return (_this$flv5 = this.flv) === null || _this$flv5 === void 0 ? void 0 : (_this$flv5$_transferC = _this$flv5._transferCost) === null || _this$flv5$_transferC === void 0 ? void 0 : _this$flv5$_transferC.transferCost;
|
|
11638
11639
|
}
|
|
11639
11640
|
}, {
|
|
11640
11641
|
key: "beforePlayerInit",
|