@byteplus/veplayer-plugin 2.4.0 → 2.4.1-rc.1
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/index.development.js +43395 -42054
- package/esm/index.production.js +3 -3
- package/esm/veplayer.plugin.abr.development.js +2555 -2238
- package/esm/veplayer.plugin.abr.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +419 -158
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.hls.development.js +738 -79
- package/esm/veplayer.plugin.hls.production.js +1 -1
- package/esm/veplayer.plugin.mp4.development.js +2 -2
- package/esm/veplayer.plugin.mp4.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +10 -4
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/esm/veplayer.plugin.shaka.development.js +1 -1
- package/esm/veplayer.plugin.shaka.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.plugin.abr.development.js +2555 -2238
- package/umd/veplayer.plugin.abr.production.js +1 -1
- package/umd/veplayer.plugin.flv.development.js +419 -158
- package/umd/veplayer.plugin.flv.production.js +1 -1
- package/umd/veplayer.plugin.hls.development.js +738 -79
- package/umd/veplayer.plugin.hls.production.js +1 -1
- package/umd/veplayer.plugin.mp4.development.js +2 -2
- package/umd/veplayer.plugin.mp4.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +10 -4
- package/umd/veplayer.plugin.rtm.production.js +1 -1
- package/umd/veplayer.plugin.shaka.development.js +1 -1
- package/umd/veplayer.plugin.shaka.production.js +1 -1
|
@@ -1530,7 +1530,7 @@ util.getCurrentTimeByOffset = function(offsetTime, segments) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
return offsetTime;
|
|
1532
1532
|
};
|
|
1533
|
-
var version = "3.0.
|
|
1533
|
+
var version = "3.0.20-rc.3";
|
|
1534
1534
|
var ERROR_MAP = {
|
|
1535
1535
|
1: 5101,
|
|
1536
1536
|
2: 5102,
|
|
@@ -5597,7 +5597,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
5597
5597
|
}, {
|
|
5598
5598
|
key: "version",
|
|
5599
5599
|
get: function get() {
|
|
5600
|
-
return "0.2.1-alpha.
|
|
5600
|
+
return "0.2.1-alpha.1";
|
|
5601
5601
|
}
|
|
5602
5602
|
}, {
|
|
5603
5603
|
key: "beforePlayerInit",
|
|
@@ -5693,8 +5693,14 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
5693
5693
|
}
|
|
5694
5694
|
player.config.url = backupURL;
|
|
5695
5695
|
if (backupConstruct) {
|
|
5696
|
-
|
|
5697
|
-
|
|
5696
|
+
if (!Array.isArray(backupConstruct)) {
|
|
5697
|
+
backupConstruct = [backupConstruct];
|
|
5698
|
+
}
|
|
5699
|
+
backupConstruct.forEach(function(construct) {
|
|
5700
|
+
var _newPlugin$beforePlay;
|
|
5701
|
+
var newPlugin = player.registerPlugin(construct);
|
|
5702
|
+
(_newPlugin$beforePlay = newPlugin.beforePlayerInit) === null || _newPlugin$beforePlay === void 0 ? void 0 : _newPlugin$beforePlay.call(newPlugin);
|
|
5703
|
+
});
|
|
5698
5704
|
} else {
|
|
5699
5705
|
player.video.src = backupURL;
|
|
5700
5706
|
}
|