@volcengine/veplayer 2.12.0-rc.2 → 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 +4 -3
- 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 +4 -3
- 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/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 {
|
package/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 {
|