@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
|
@@ -1534,7 +1534,7 @@
|
|
|
1534
1534
|
}
|
|
1535
1535
|
return offsetTime;
|
|
1536
1536
|
};
|
|
1537
|
-
var version = "3.0.
|
|
1537
|
+
var version = "3.0.20-rc.3";
|
|
1538
1538
|
var ERROR_MAP = {
|
|
1539
1539
|
1: 5101,
|
|
1540
1540
|
2: 5102,
|
|
@@ -5601,7 +5601,7 @@
|
|
|
5601
5601
|
}, {
|
|
5602
5602
|
key: "version",
|
|
5603
5603
|
get: function get() {
|
|
5604
|
-
return "0.2.1-alpha.
|
|
5604
|
+
return "0.2.1-alpha.1";
|
|
5605
5605
|
}
|
|
5606
5606
|
}, {
|
|
5607
5607
|
key: "beforePlayerInit",
|
|
@@ -5697,8 +5697,14 @@
|
|
|
5697
5697
|
}
|
|
5698
5698
|
player.config.url = backupURL;
|
|
5699
5699
|
if (backupConstruct) {
|
|
5700
|
-
|
|
5701
|
-
|
|
5700
|
+
if (!Array.isArray(backupConstruct)) {
|
|
5701
|
+
backupConstruct = [backupConstruct];
|
|
5702
|
+
}
|
|
5703
|
+
backupConstruct.forEach(function(construct) {
|
|
5704
|
+
var _newPlugin$beforePlay;
|
|
5705
|
+
var newPlugin = player.registerPlugin(construct);
|
|
5706
|
+
(_newPlugin$beforePlay = newPlugin.beforePlayerInit) === null || _newPlugin$beforePlay === void 0 ? void 0 : _newPlugin$beforePlay.call(newPlugin);
|
|
5707
|
+
});
|
|
5702
5708
|
} else {
|
|
5703
5709
|
player.video.src = backupURL;
|
|
5704
5710
|
}
|