@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/esm/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 {
|
|
@@ -14711,7 +14711,7 @@ class VePlayerBase {
|
|
|
14711
14711
|
* @brief Retrieve the player SDK version number.
|
|
14712
14712
|
*/
|
|
14713
14713
|
get playerVersion() {
|
|
14714
|
-
return "2.12.
|
|
14714
|
+
return "2.12.1";
|
|
14715
14715
|
}
|
|
14716
14716
|
/** {zh}
|
|
14717
14717
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56506,7 +56506,7 @@ let Logger$1 = class Logger2 extends Plugin {
|
|
|
56506
56506
|
device_id: deviceId,
|
|
56507
56507
|
error_report_stop: true,
|
|
56508
56508
|
ext: {
|
|
56509
|
-
veplayer_version: "2.12.
|
|
56509
|
+
veplayer_version: "2.12.1",
|
|
56510
56510
|
flv_version: "3.0.24-rc.6",
|
|
56511
56511
|
hls_version: "3.0.24-rc.2",
|
|
56512
56512
|
rts_version: "0.2.1-alpha.64"
|
|
@@ -62017,7 +62017,8 @@ class TeaTracker {
|
|
|
62017
62017
|
Tea.init({
|
|
62018
62018
|
...teaOptions,
|
|
62019
62019
|
app_id: 468759,
|
|
62020
|
-
channel: "cn"
|
|
62020
|
+
channel: "cn",
|
|
62021
|
+
channel_domain: void 0
|
|
62021
62022
|
});
|
|
62022
62023
|
Tea.start();
|
|
62023
62024
|
Tea.config({
|
|
@@ -74303,7 +74304,7 @@ async function prepare(options) {
|
|
|
74303
74304
|
}
|
|
74304
74305
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74305
74306
|
...options,
|
|
74306
|
-
playerVersion: "2.12.
|
|
74307
|
+
playerVersion: "2.12.1",
|
|
74307
74308
|
type: "LIVE"
|
|
74308
74309
|
}));
|
|
74309
74310
|
return liveVeStrategy.veStrategyManager;
|
package/esm/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 {
|
|
@@ -14711,7 +14711,7 @@ class VePlayerBase {
|
|
|
14711
14711
|
* @brief Retrieve the player SDK version number.
|
|
14712
14712
|
*/
|
|
14713
14713
|
get playerVersion() {
|
|
14714
|
-
return "2.12.
|
|
14714
|
+
return "2.12.1";
|
|
14715
14715
|
}
|
|
14716
14716
|
/** {zh}
|
|
14717
14717
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -56506,7 +56506,7 @@ let Logger$1 = class Logger2 extends Plugin {
|
|
|
56506
56506
|
device_id: deviceId,
|
|
56507
56507
|
error_report_stop: true,
|
|
56508
56508
|
ext: {
|
|
56509
|
-
veplayer_version: "2.12.
|
|
56509
|
+
veplayer_version: "2.12.1",
|
|
56510
56510
|
flv_version: "3.0.24-rc.6",
|
|
56511
56511
|
hls_version: "3.0.24-rc.2",
|
|
56512
56512
|
rts_version: "0.2.1-alpha.64"
|
|
@@ -62023,7 +62023,8 @@ class TeaTracker {
|
|
|
62023
62023
|
Tea.init({
|
|
62024
62024
|
...teaOptions,
|
|
62025
62025
|
app_id: 468759,
|
|
62026
|
-
channel: "cn"
|
|
62026
|
+
channel: "cn",
|
|
62027
|
+
channel_domain: void 0
|
|
62027
62028
|
});
|
|
62028
62029
|
Tea.start();
|
|
62029
62030
|
Tea.config({
|
|
@@ -74309,7 +74310,7 @@ async function prepare(options) {
|
|
|
74309
74310
|
}
|
|
74310
74311
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
74311
74312
|
...options,
|
|
74312
|
-
playerVersion: "2.12.
|
|
74313
|
+
playerVersion: "2.12.1",
|
|
74313
74314
|
type: "LIVE"
|
|
74314
74315
|
}));
|
|
74315
74316
|
return liveVeStrategy.veStrategyManager;
|