@volcengine/veplayer 2.5.0 → 2.6.0-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.d.ts +0 -1
- package/esm/veplayer.biz.live.development.js +19 -188
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +155 -37
- package/esm/veplayer.development.js +16 -41
- package/esm/veplayer.live.d.ts +155 -38
- package/esm/veplayer.live.development.js +16 -41
- package/esm/veplayer.live.production.js +3 -3
- package/esm/veplayer.production.js +3 -3
- package/esm/veplayer.vod.d.ts +0 -1
- package/esm/veplayer.vod.development.js +3 -6
- package/esm/veplayer.vod.production.js +2 -2
- package/package.json +1 -1
- package/umd/index.d.ts +0 -1
- package/umd/veplayer.biz.live.development.js +19 -188
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +155 -37
- package/umd/veplayer.development.js +16 -41
- package/umd/veplayer.live.d.ts +155 -38
- package/umd/veplayer.live.development.js +16 -41
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.d.ts +0 -1
- package/umd/veplayer.vod.development.js +3 -6
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +155 -37
- package/veplayer.live.d.ts +155 -38
- package/veplayer.vod.d.ts +0 -1
package/esm/veplayer.vod.d.ts
CHANGED
|
@@ -3994,7 +3994,6 @@ declare namespace strategy {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
type StrategyCreator<T, R extends keyof ModulesMap = any> = (options?: T) => Strategy<T, R>;
|
|
3996
3996
|
const createFlvMseStrategy: StrategyCreator<VePlayerBaseOptions, DynamicModule.PluginFlv>;
|
|
3997
|
-
const createFlvMssStrategy: StrategyCreator<VePlayerBaseOptions, DynamicModule.PluginFlv>;
|
|
3998
3997
|
const createHlsMseStrategy: StrategyCreator<VePlayerBaseOptions, DynamicModule.PluginHls>;
|
|
3999
3998
|
const createSoftDecodeH264Strategy: StrategyCreator<VePlayerBaseOptions, DynamicModule.PluginXgvideo>;
|
|
4000
3999
|
const createSoftDecodeH265Strategy: StrategyCreator<VePlayerBaseOptions, DynamicModule.PluginXgvideo>;
|
|
@@ -1452,7 +1452,7 @@ var sniffer = {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
|
-
var version = "3.0.21-rc.
|
|
1455
|
+
var version = "3.0.21-rc.3";
|
|
1456
1456
|
var ERROR_TYPE_MAP = {
|
|
1457
1457
|
1: "media",
|
|
1458
1458
|
2: "media",
|
|
@@ -12805,15 +12805,11 @@ async function isSoftDecodeSupported() {
|
|
|
12805
12805
|
const { XGVideoPlugin } = await load(DynamicModule.PluginXgvideo);
|
|
12806
12806
|
return XGVideoPlugin == null ? void 0 : XGVideoPlugin.isSupported();
|
|
12807
12807
|
}
|
|
12808
|
-
function isMMSSupported() {
|
|
12809
|
-
return typeof ManagedMediaSource !== "undefined";
|
|
12810
|
-
}
|
|
12811
12808
|
({
|
|
12812
12809
|
...util,
|
|
12813
12810
|
getStreamType,
|
|
12814
12811
|
isMseSupported,
|
|
12815
12812
|
isSoftDecodeSupported,
|
|
12816
|
-
isMMSSupported,
|
|
12817
12813
|
appendSearchParams,
|
|
12818
12814
|
getUrlObject
|
|
12819
12815
|
});
|
|
@@ -13026,6 +13022,7 @@ class Autoplay extends Plugin {
|
|
|
13026
13022
|
}
|
|
13027
13023
|
// 有音量修改,取消静音
|
|
13028
13024
|
handleVolumechange() {
|
|
13025
|
+
this._state.mode = this.player.muted ? 1 : 0;
|
|
13029
13026
|
if (!this._state.showUnmuteBt)
|
|
13030
13027
|
return;
|
|
13031
13028
|
this._state.showUnmuteBt = false;
|
|
@@ -13681,7 +13678,7 @@ class VePlayerBase {
|
|
|
13681
13678
|
* @brief Retrieve the player SDK version number.
|
|
13682
13679
|
*/
|
|
13683
13680
|
get playerVersion() {
|
|
13684
|
-
return "2.
|
|
13681
|
+
return "2.6.0-rc.1";
|
|
13685
13682
|
}
|
|
13686
13683
|
/** {zh}
|
|
13687
13684
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|