@volcengine/veplayer 2.5.0 → 2.5.1-rc.0
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 +8 -15
- package/esm/veplayer.biz.live.development.js +121 -214
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +211 -120
- package/esm/veplayer.development.js +120 -75
- package/esm/veplayer.live.d.ts +211 -120
- package/esm/veplayer.live.development.js +118 -73
- package/esm/veplayer.live.production.js +3 -3
- package/esm/veplayer.production.js +3 -3
- package/esm/veplayer.vod.d.ts +8 -15
- package/esm/veplayer.vod.development.js +31 -6
- package/esm/veplayer.vod.production.js +2 -2
- package/package.json +1 -1
- package/umd/index.d.ts +8 -15
- package/umd/veplayer.biz.live.development.js +133 -39
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +211 -120
- package/umd/veplayer.development.js +120 -75
- package/umd/veplayer.live.d.ts +211 -120
- package/umd/veplayer.live.development.js +119 -71
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.d.ts +8 -15
- package/umd/veplayer.vod.development.js +31 -6
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +211 -120
- package/veplayer.live.d.ts +211 -120
- package/veplayer.vod.d.ts +8 -15
package/veplayer.vod.d.ts
CHANGED
|
@@ -1399,13 +1399,13 @@ interface VePlayerBaseOptions extends Omit<PlayerOptions, "autoplay" | "i18n"> {
|
|
|
1399
1399
|
*/
|
|
1400
1400
|
interface Fullscreen {
|
|
1401
1401
|
/** {zh}
|
|
1402
|
-
* @brief 切换全屏时,是否旋转为横屏播放,通常在移动端使用。如果开启横屏播放,切换全屏时,将在竖屏状态下把播放器旋转 90
|
|
1403
|
-
*
|
|
1404
|
-
*
|
|
1402
|
+
* @brief 切换全屏时,是否旋转为横屏播放,通常在移动端使用。如果开启横屏播放,切换全屏时,将在竖屏状态下把播放器旋转 90 度,实现横屏效果。该配置优先级低于 useCssFullscreen。
|
|
1403
|
+
* - `true`:使用旋转横屏;
|
|
1404
|
+
* - `false`:不使用旋转横屏。
|
|
1405
1405
|
* @default false
|
|
1406
1406
|
*/
|
|
1407
1407
|
/** {en}
|
|
1408
|
-
* @brief Whether to play the video in landscape mode when the video enters full-screen mode. This feature is usually used on mobile devices. Once enabled, when the video enters fullscreen mode, the player will be rotated from portrait mode by 90 degrees to landscape mode. This property has a
|
|
1408
|
+
* @brief Whether to play the video in landscape mode when the video enters full-screen mode. This feature is usually used on mobile devices. Once enabled, when the video enters fullscreen mode, the player will be rotated from portrait mode by 90 degrees to landscape mode. This property has a lower priority than `useCssFullscreen`.
|
|
1409
1409
|
* - `true`: Enable.
|
|
1410
1410
|
* - `false`: Disable.
|
|
1411
1411
|
* @default false
|
|
@@ -3722,13 +3722,13 @@ declare namespace strategy {
|
|
|
3722
3722
|
*/
|
|
3723
3723
|
interface Fullscreen {
|
|
3724
3724
|
/** {zh}
|
|
3725
|
-
* @brief 切换全屏时,是否旋转为横屏播放,通常在移动端使用。如果开启横屏播放,切换全屏时,将在竖屏状态下把播放器旋转 90
|
|
3726
|
-
*
|
|
3727
|
-
*
|
|
3725
|
+
* @brief 切换全屏时,是否旋转为横屏播放,通常在移动端使用。如果开启横屏播放,切换全屏时,将在竖屏状态下把播放器旋转 90 度,实现横屏效果。该配置优先级低于 useCssFullscreen。
|
|
3726
|
+
* - `true`:使用旋转横屏;
|
|
3727
|
+
* - `false`:不使用旋转横屏。
|
|
3728
3728
|
* @default false
|
|
3729
3729
|
*/
|
|
3730
3730
|
/** {en}
|
|
3731
|
-
* @brief Whether to play the video in landscape mode when the video enters full-screen mode. This feature is usually used on mobile devices. Once enabled, when the video enters fullscreen mode, the player will be rotated from portrait mode by 90 degrees to landscape mode. This property has a
|
|
3731
|
+
* @brief Whether to play the video in landscape mode when the video enters full-screen mode. This feature is usually used on mobile devices. Once enabled, when the video enters fullscreen mode, the player will be rotated from portrait mode by 90 degrees to landscape mode. This property has a lower priority than `useCssFullscreen`.
|
|
3732
3732
|
* - `true`: Enable.
|
|
3733
3733
|
* - `false`: Disable.
|
|
3734
3734
|
* @default false
|
|
@@ -4002,13 +4002,6 @@ declare namespace strategy {
|
|
|
4002
4002
|
function detectCodec(url: string): Promise<"unknown" | Codec>;
|
|
4003
4003
|
function isSoftDecode(options: VePlayerBaseOptions, currentCodec?: Codec | "unknown"): Promise<boolean>;
|
|
4004
4004
|
function combineOptions<T = VePlayerBaseOptions>(strategyList: (Strategy<T> | undefined)[]): Partial<T>;
|
|
4005
|
-
const getFlvStrategy: (options: VePlayerBaseOptions) => Promise<{
|
|
4006
|
-
options?: undefined;
|
|
4007
|
-
plugins?: undefined;
|
|
4008
|
-
} | {
|
|
4009
|
-
options: Partial<VePlayerBaseOptions>;
|
|
4010
|
-
plugins: any[];
|
|
4011
|
-
}>;
|
|
4012
4005
|
const getHlsStrategy: (options: VePlayerBaseOptions) => Promise<{
|
|
4013
4006
|
options?: undefined;
|
|
4014
4007
|
plugins?: undefined;
|