@volcengine/veplayer 2.12.0 → 2.12.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/veplayer.biz.live.development.js +2 -1
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +90 -8
- package/esm/veplayer.development.js +5 -4
- package/esm/veplayer.live.d.ts +90 -8
- package/esm/veplayer.live.development.js +5 -4
- package/esm/veplayer.live.production.js +2 -2
- package/esm/veplayer.production.js +2 -2
- package/esm/veplayer.vod.development.js +1 -1
- package/esm/veplayer.vod.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.biz.live.development.js +2 -1
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +90 -8
- package/umd/veplayer.development.js +5 -4
- package/umd/veplayer.live.d.ts +90 -8
- package/umd/veplayer.live.development.js +5 -4
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.development.js +1 -1
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +90 -8
- package/veplayer.live.d.ts +90 -8
package/umd/veplayer.d.ts
CHANGED
|
@@ -5619,15 +5619,56 @@ declare class Sources extends OptionsIcon {
|
|
|
5619
5619
|
to: Source;
|
|
5620
5620
|
}): void;
|
|
5621
5621
|
}
|
|
5622
|
+
/**
|
|
5623
|
+
* @brief 自动播放配置。
|
|
5624
|
+
* @list Options
|
|
5625
|
+
* @kind property
|
|
5626
|
+
*/
|
|
5627
|
+
/** {en}
|
|
5628
|
+
* @brief Autoplay configuration.
|
|
5629
|
+
* @list Options
|
|
5630
|
+
* @kind property
|
|
5631
|
+
*/
|
|
5622
5632
|
interface IAutoplayPluginConfig {
|
|
5633
|
+
/**
|
|
5634
|
+
* @hidden
|
|
5635
|
+
*/
|
|
5623
5636
|
position?: string;
|
|
5624
|
-
|
|
5637
|
+
/** {zh}
|
|
5638
|
+
* @brief 有声音自动播放失败时是否降级成静音自动播放。
|
|
5639
|
+
* @default false
|
|
5640
|
+
*/
|
|
5641
|
+
/** {en}
|
|
5642
|
+
* @brief Whether to downgrade to muted autoplay when sound autoplay fails.
|
|
5643
|
+
* @default false
|
|
5644
|
+
*/
|
|
5625
5645
|
enableDegradeMuteAutoplay?: boolean;
|
|
5626
|
-
|
|
5646
|
+
/** {zh}
|
|
5647
|
+
* @brief 启用微信jsBridge方式的自动播放。
|
|
5648
|
+
* @default false
|
|
5649
|
+
*/
|
|
5650
|
+
/** {en}
|
|
5651
|
+
* @brief Whether to enable wxJsBridge autoplay.
|
|
5652
|
+
* @default false
|
|
5653
|
+
*/
|
|
5627
5654
|
enableWxJsBridgeAutoplay?: boolean;
|
|
5628
|
-
|
|
5655
|
+
/** {zh}
|
|
5656
|
+
* @brief 用户触发自动播放的目标dom。
|
|
5657
|
+
* @default window.document.body
|
|
5658
|
+
*/
|
|
5659
|
+
/** {en}
|
|
5660
|
+
* @brief The target dom of user action autoplay.
|
|
5661
|
+
* @default window.document.body
|
|
5662
|
+
*/
|
|
5629
5663
|
userActionDom?: Node;
|
|
5630
|
-
|
|
5664
|
+
/** {zh}
|
|
5665
|
+
* @brief 开启任意点击/触摸的用户行为触发自动播放。
|
|
5666
|
+
* @default false
|
|
5667
|
+
*/
|
|
5668
|
+
/** {en}
|
|
5669
|
+
* @brief Whether to enable user action autoplay.
|
|
5670
|
+
* @default false
|
|
5671
|
+
*/
|
|
5631
5672
|
enableUserActionAutoplay?: boolean;
|
|
5632
5673
|
}
|
|
5633
5674
|
declare class Autoplay extends Plugin {
|
|
@@ -10764,15 +10805,56 @@ declare namespace live {
|
|
|
10764
10805
|
to: Source;
|
|
10765
10806
|
}): void;
|
|
10766
10807
|
}
|
|
10808
|
+
/**
|
|
10809
|
+
* @brief 自动播放配置。
|
|
10810
|
+
* @list Options
|
|
10811
|
+
* @kind property
|
|
10812
|
+
*/
|
|
10813
|
+
/** {en}
|
|
10814
|
+
* @brief Autoplay configuration.
|
|
10815
|
+
* @list Options
|
|
10816
|
+
* @kind property
|
|
10817
|
+
*/
|
|
10767
10818
|
interface IAutoplayPluginConfig {
|
|
10819
|
+
/**
|
|
10820
|
+
* @hidden
|
|
10821
|
+
*/
|
|
10768
10822
|
position?: string;
|
|
10769
|
-
|
|
10823
|
+
/** {zh}
|
|
10824
|
+
* @brief 有声音自动播放失败时是否降级成静音自动播放。
|
|
10825
|
+
* @default false
|
|
10826
|
+
*/
|
|
10827
|
+
/** {en}
|
|
10828
|
+
* @brief Whether to downgrade to muted autoplay when sound autoplay fails.
|
|
10829
|
+
* @default false
|
|
10830
|
+
*/
|
|
10770
10831
|
enableDegradeMuteAutoplay?: boolean;
|
|
10771
|
-
|
|
10832
|
+
/** {zh}
|
|
10833
|
+
* @brief 启用微信jsBridge方式的自动播放。
|
|
10834
|
+
* @default false
|
|
10835
|
+
*/
|
|
10836
|
+
/** {en}
|
|
10837
|
+
* @brief Whether to enable wxJsBridge autoplay.
|
|
10838
|
+
* @default false
|
|
10839
|
+
*/
|
|
10772
10840
|
enableWxJsBridgeAutoplay?: boolean;
|
|
10773
|
-
|
|
10841
|
+
/** {zh}
|
|
10842
|
+
* @brief 用户触发自动播放的目标dom。
|
|
10843
|
+
* @default window.document.body
|
|
10844
|
+
*/
|
|
10845
|
+
/** {en}
|
|
10846
|
+
* @brief The target dom of user action autoplay.
|
|
10847
|
+
* @default window.document.body
|
|
10848
|
+
*/
|
|
10774
10849
|
userActionDom?: Node;
|
|
10775
|
-
|
|
10850
|
+
/** {zh}
|
|
10851
|
+
* @brief 开启任意点击/触摸的用户行为触发自动播放。
|
|
10852
|
+
* @default false
|
|
10853
|
+
*/
|
|
10854
|
+
/** {en}
|
|
10855
|
+
* @brief Whether to enable user action autoplay.
|
|
10856
|
+
* @default false
|
|
10857
|
+
*/
|
|
10776
10858
|
enableUserActionAutoplay?: boolean;
|
|
10777
10859
|
}
|
|
10778
10860
|
class Autoplay extends Plugin {
|
|
@@ -14715,7 +14715,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14715
14715
|
* @brief Retrieve the player SDK version number.
|
|
14716
14716
|
*/
|
|
14717
14717
|
get playerVersion() {
|
|
14718
|
-
return "2.12.
|
|
14718
|
+
return "2.12.1";
|
|
14719
14719
|
}
|
|
14720
14720
|
/** {zh}
|
|
14721
14721
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56510,7 +56510,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
56510
56510
|
device_id: deviceId,
|
|
56511
56511
|
error_report_stop: true,
|
|
56512
56512
|
ext: {
|
|
56513
|
-
veplayer_version: "2.12.
|
|
56513
|
+
veplayer_version: "2.12.1",
|
|
56514
56514
|
flv_version: "3.0.24-rc.6",
|
|
56515
56515
|
hls_version: "3.0.24-rc.2",
|
|
56516
56516
|
rts_version: "0.2.1-alpha.64"
|
|
@@ -62021,7 +62021,8 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62021
62021
|
Tea.init({
|
|
62022
62022
|
...teaOptions,
|
|
62023
62023
|
app_id: 468759,
|
|
62024
|
-
channel: "cn"
|
|
62024
|
+
channel: "cn",
|
|
62025
|
+
channel_domain: void 0
|
|
62025
62026
|
});
|
|
62026
62027
|
Tea.start();
|
|
62027
62028
|
Tea.config({
|
|
@@ -74307,7 +74308,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
74307
74308
|
}
|
|
74308
74309
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74309
74310
|
...options,
|
|
74310
|
-
playerVersion: "2.12.
|
|
74311
|
+
playerVersion: "2.12.1",
|
|
74311
74312
|
type: "LIVE"
|
|
74312
74313
|
}));
|
|
74313
74314
|
return liveVeStrategy.veStrategyManager;
|
package/umd/veplayer.live.d.ts
CHANGED
|
@@ -5619,15 +5619,56 @@ declare class Sources extends OptionsIcon {
|
|
|
5619
5619
|
to: Source;
|
|
5620
5620
|
}): void;
|
|
5621
5621
|
}
|
|
5622
|
+
/**
|
|
5623
|
+
* @brief 自动播放配置。
|
|
5624
|
+
* @list Options
|
|
5625
|
+
* @kind property
|
|
5626
|
+
*/
|
|
5627
|
+
/** {en}
|
|
5628
|
+
* @brief Autoplay configuration.
|
|
5629
|
+
* @list Options
|
|
5630
|
+
* @kind property
|
|
5631
|
+
*/
|
|
5622
5632
|
interface IAutoplayPluginConfig {
|
|
5633
|
+
/**
|
|
5634
|
+
* @hidden
|
|
5635
|
+
*/
|
|
5623
5636
|
position?: string;
|
|
5624
|
-
|
|
5637
|
+
/** {zh}
|
|
5638
|
+
* @brief 有声音自动播放失败时是否降级成静音自动播放。
|
|
5639
|
+
* @default false
|
|
5640
|
+
*/
|
|
5641
|
+
/** {en}
|
|
5642
|
+
* @brief Whether to downgrade to muted autoplay when sound autoplay fails.
|
|
5643
|
+
* @default false
|
|
5644
|
+
*/
|
|
5625
5645
|
enableDegradeMuteAutoplay?: boolean;
|
|
5626
|
-
|
|
5646
|
+
/** {zh}
|
|
5647
|
+
* @brief 启用微信jsBridge方式的自动播放。
|
|
5648
|
+
* @default false
|
|
5649
|
+
*/
|
|
5650
|
+
/** {en}
|
|
5651
|
+
* @brief Whether to enable wxJsBridge autoplay.
|
|
5652
|
+
* @default false
|
|
5653
|
+
*/
|
|
5627
5654
|
enableWxJsBridgeAutoplay?: boolean;
|
|
5628
|
-
|
|
5655
|
+
/** {zh}
|
|
5656
|
+
* @brief 用户触发自动播放的目标dom。
|
|
5657
|
+
* @default window.document.body
|
|
5658
|
+
*/
|
|
5659
|
+
/** {en}
|
|
5660
|
+
* @brief The target dom of user action autoplay.
|
|
5661
|
+
* @default window.document.body
|
|
5662
|
+
*/
|
|
5629
5663
|
userActionDom?: Node;
|
|
5630
|
-
|
|
5664
|
+
/** {zh}
|
|
5665
|
+
* @brief 开启任意点击/触摸的用户行为触发自动播放。
|
|
5666
|
+
* @default false
|
|
5667
|
+
*/
|
|
5668
|
+
/** {en}
|
|
5669
|
+
* @brief Whether to enable user action autoplay.
|
|
5670
|
+
* @default false
|
|
5671
|
+
*/
|
|
5631
5672
|
enableUserActionAutoplay?: boolean;
|
|
5632
5673
|
}
|
|
5633
5674
|
declare class Autoplay extends Plugin {
|
|
@@ -10764,15 +10805,56 @@ declare namespace live {
|
|
|
10764
10805
|
to: Source;
|
|
10765
10806
|
}): void;
|
|
10766
10807
|
}
|
|
10808
|
+
/**
|
|
10809
|
+
* @brief 自动播放配置。
|
|
10810
|
+
* @list Options
|
|
10811
|
+
* @kind property
|
|
10812
|
+
*/
|
|
10813
|
+
/** {en}
|
|
10814
|
+
* @brief Autoplay configuration.
|
|
10815
|
+
* @list Options
|
|
10816
|
+
* @kind property
|
|
10817
|
+
*/
|
|
10767
10818
|
interface IAutoplayPluginConfig {
|
|
10819
|
+
/**
|
|
10820
|
+
* @hidden
|
|
10821
|
+
*/
|
|
10768
10822
|
position?: string;
|
|
10769
|
-
|
|
10823
|
+
/** {zh}
|
|
10824
|
+
* @brief 有声音自动播放失败时是否降级成静音自动播放。
|
|
10825
|
+
* @default false
|
|
10826
|
+
*/
|
|
10827
|
+
/** {en}
|
|
10828
|
+
* @brief Whether to downgrade to muted autoplay when sound autoplay fails.
|
|
10829
|
+
* @default false
|
|
10830
|
+
*/
|
|
10770
10831
|
enableDegradeMuteAutoplay?: boolean;
|
|
10771
|
-
|
|
10832
|
+
/** {zh}
|
|
10833
|
+
* @brief 启用微信jsBridge方式的自动播放。
|
|
10834
|
+
* @default false
|
|
10835
|
+
*/
|
|
10836
|
+
/** {en}
|
|
10837
|
+
* @brief Whether to enable wxJsBridge autoplay.
|
|
10838
|
+
* @default false
|
|
10839
|
+
*/
|
|
10772
10840
|
enableWxJsBridgeAutoplay?: boolean;
|
|
10773
|
-
|
|
10841
|
+
/** {zh}
|
|
10842
|
+
* @brief 用户触发自动播放的目标dom。
|
|
10843
|
+
* @default window.document.body
|
|
10844
|
+
*/
|
|
10845
|
+
/** {en}
|
|
10846
|
+
* @brief The target dom of user action autoplay.
|
|
10847
|
+
* @default window.document.body
|
|
10848
|
+
*/
|
|
10774
10849
|
userActionDom?: Node;
|
|
10775
|
-
|
|
10850
|
+
/** {zh}
|
|
10851
|
+
* @brief 开启任意点击/触摸的用户行为触发自动播放。
|
|
10852
|
+
* @default false
|
|
10853
|
+
*/
|
|
10854
|
+
/** {en}
|
|
10855
|
+
* @brief Whether to enable user action autoplay.
|
|
10856
|
+
* @default false
|
|
10857
|
+
*/
|
|
10776
10858
|
enableUserActionAutoplay?: boolean;
|
|
10777
10859
|
}
|
|
10778
10860
|
class Autoplay extends Plugin {
|
|
@@ -14715,7 +14715,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14715
14715
|
* @brief Retrieve the player SDK version number.
|
|
14716
14716
|
*/
|
|
14717
14717
|
get playerVersion() {
|
|
14718
|
-
return "2.12.
|
|
14718
|
+
return "2.12.1";
|
|
14719
14719
|
}
|
|
14720
14720
|
/** {zh}
|
|
14721
14721
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56510,7 +56510,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
56510
56510
|
device_id: deviceId,
|
|
56511
56511
|
error_report_stop: true,
|
|
56512
56512
|
ext: {
|
|
56513
|
-
veplayer_version: "2.12.
|
|
56513
|
+
veplayer_version: "2.12.1",
|
|
56514
56514
|
flv_version: "3.0.24-rc.6",
|
|
56515
56515
|
hls_version: "3.0.24-rc.2",
|
|
56516
56516
|
rts_version: "0.2.1-alpha.64"
|
|
@@ -62021,7 +62021,8 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
62021
62021
|
Tea.init({
|
|
62022
62022
|
...teaOptions,
|
|
62023
62023
|
app_id: 468759,
|
|
62024
|
-
channel: "cn"
|
|
62024
|
+
channel: "cn",
|
|
62025
|
+
channel_domain: void 0
|
|
62025
62026
|
});
|
|
62026
62027
|
Tea.start();
|
|
62027
62028
|
Tea.config({
|
|
@@ -74314,7 +74315,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
74314
74315
|
}
|
|
74315
74316
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74316
74317
|
...options,
|
|
74317
|
-
playerVersion: "2.12.
|
|
74318
|
+
playerVersion: "2.12.1",
|
|
74318
74319
|
type: "LIVE"
|
|
74319
74320
|
}));
|
|
74320
74321
|
return liveVeStrategy.veStrategyManager;
|