@volcengine/veplayer 2.6.0-rc.5 → 2.6.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 +3 -0
- package/esm/veplayer.biz.live.development.js +1 -1
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +11 -0
- package/esm/veplayer.development.js +106 -39
- package/esm/veplayer.live.d.ts +11 -0
- package/esm/veplayer.live.development.js +106 -39
- package/esm/veplayer.live.production.js +3 -3
- package/esm/veplayer.production.js +3 -3
- package/esm/veplayer.vod.d.ts +3 -0
- package/esm/veplayer.vod.development.js +104 -37
- package/esm/veplayer.vod.production.js +3 -3
- package/package.json +1 -1
- package/umd/index.d.ts +3 -0
- package/umd/veplayer.biz.live.development.js +1 -1
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +11 -0
- package/umd/veplayer.development.js +106 -39
- package/umd/veplayer.live.d.ts +11 -0
- package/umd/veplayer.live.development.js +106 -39
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.d.ts +3 -0
- package/umd/veplayer.vod.development.js +104 -37
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +11 -0
- package/veplayer.live.d.ts +11 -0
- package/veplayer.vod.d.ts +3 -0
package/veplayer.d.ts
CHANGED
|
@@ -1526,6 +1526,7 @@ interface VePlayerBaseOptions extends Omit<PlayerOptions, "autoplay" | "i18n"> {
|
|
|
1526
1526
|
* @default false
|
|
1527
1527
|
*/
|
|
1528
1528
|
closeVideoDblclick?: boolean;
|
|
1529
|
+
mediaElement?: HTMLVideoElement | null;
|
|
1529
1530
|
}
|
|
1530
1531
|
/** {zh}
|
|
1531
1532
|
* @list option
|
|
@@ -1763,6 +1764,7 @@ declare class VePlayerBase {
|
|
|
1763
1764
|
private _previousPrepareResult?;
|
|
1764
1765
|
private _i18nManager;
|
|
1765
1766
|
private _events;
|
|
1767
|
+
private _customMedia?;
|
|
1766
1768
|
private _errorCallback;
|
|
1767
1769
|
/** {zh}
|
|
1768
1770
|
* @hidden
|
|
@@ -3902,6 +3904,7 @@ declare namespace strategy {
|
|
|
3902
3904
|
* @default false
|
|
3903
3905
|
*/
|
|
3904
3906
|
closeVideoDblclick?: boolean;
|
|
3907
|
+
mediaElement?: HTMLVideoElement | null;
|
|
3905
3908
|
}
|
|
3906
3909
|
/** {zh}
|
|
3907
3910
|
* @list option
|
|
@@ -4276,6 +4279,9 @@ declare const util: {
|
|
|
4276
4279
|
isMMSSupported: typeof isMMSSupported;
|
|
4277
4280
|
appendSearchParams: (url?: string | undefined, searchParams?: Record<string, string> | undefined) => string;
|
|
4278
4281
|
getUrlObject: (url?: string | undefined) => URL | undefined;
|
|
4282
|
+
getAttributes(dom: HTMLMediaElement): Record<string, any>;
|
|
4283
|
+
setAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
4284
|
+
replaceAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
4279
4285
|
createDom(el?: string | undefined, tpl?: string | undefined, attrs?: {
|
|
4280
4286
|
[propName: string]: any;
|
|
4281
4287
|
} | undefined, cname?: string | undefined): HTMLElement;
|
|
@@ -9210,6 +9216,7 @@ declare namespace live {
|
|
|
9210
9216
|
* @default false
|
|
9211
9217
|
*/
|
|
9212
9218
|
closeVideoDblclick?: boolean;
|
|
9219
|
+
mediaElement?: HTMLVideoElement | null;
|
|
9213
9220
|
}
|
|
9214
9221
|
/** {zh}
|
|
9215
9222
|
* @list option
|
|
@@ -9448,6 +9455,7 @@ declare namespace live {
|
|
|
9448
9455
|
private _previousPrepareResult?;
|
|
9449
9456
|
private _i18nManager;
|
|
9450
9457
|
private _events;
|
|
9458
|
+
private _customMedia?;
|
|
9451
9459
|
private _errorCallback;
|
|
9452
9460
|
/** {zh}
|
|
9453
9461
|
* @hidden
|
|
@@ -10186,6 +10194,9 @@ declare namespace live {
|
|
|
10186
10194
|
isMMSSupported: typeof isMMSSupported;
|
|
10187
10195
|
appendSearchParams: (url?: string | undefined, searchParams?: Record<string, string> | undefined) => string;
|
|
10188
10196
|
getUrlObject: (url?: string | undefined) => URL | undefined;
|
|
10197
|
+
getAttributes(dom: HTMLMediaElement): Record<string, any>;
|
|
10198
|
+
setAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
10199
|
+
replaceAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
10189
10200
|
createDom(el?: string | undefined, tpl?: string | undefined, attrs?: {
|
|
10190
10201
|
[propName: string]: any;
|
|
10191
10202
|
} | undefined, cname?: string | undefined): HTMLElement;
|
package/veplayer.live.d.ts
CHANGED
|
@@ -1526,6 +1526,7 @@ interface VePlayerBaseOptions extends Omit<PlayerOptions, "autoplay" | "i18n"> {
|
|
|
1526
1526
|
* @default false
|
|
1527
1527
|
*/
|
|
1528
1528
|
closeVideoDblclick?: boolean;
|
|
1529
|
+
mediaElement?: HTMLVideoElement | null;
|
|
1529
1530
|
}
|
|
1530
1531
|
/** {zh}
|
|
1531
1532
|
* @list option
|
|
@@ -1763,6 +1764,7 @@ declare class VePlayerBase {
|
|
|
1763
1764
|
private _previousPrepareResult?;
|
|
1764
1765
|
private _i18nManager;
|
|
1765
1766
|
private _events;
|
|
1767
|
+
private _customMedia?;
|
|
1766
1768
|
private _errorCallback;
|
|
1767
1769
|
/** {zh}
|
|
1768
1770
|
* @hidden
|
|
@@ -3902,6 +3904,7 @@ declare namespace strategy {
|
|
|
3902
3904
|
* @default false
|
|
3903
3905
|
*/
|
|
3904
3906
|
closeVideoDblclick?: boolean;
|
|
3907
|
+
mediaElement?: HTMLVideoElement | null;
|
|
3905
3908
|
}
|
|
3906
3909
|
/** {zh}
|
|
3907
3910
|
* @list option
|
|
@@ -4276,6 +4279,9 @@ declare const util: {
|
|
|
4276
4279
|
isMMSSupported: typeof isMMSSupported;
|
|
4277
4280
|
appendSearchParams: (url?: string | undefined, searchParams?: Record<string, string> | undefined) => string;
|
|
4278
4281
|
getUrlObject: (url?: string | undefined) => URL | undefined;
|
|
4282
|
+
getAttributes(dom: HTMLMediaElement): Record<string, any>;
|
|
4283
|
+
setAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
4284
|
+
replaceAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
4279
4285
|
createDom(el?: string | undefined, tpl?: string | undefined, attrs?: {
|
|
4280
4286
|
[propName: string]: any;
|
|
4281
4287
|
} | undefined, cname?: string | undefined): HTMLElement;
|
|
@@ -9210,6 +9216,7 @@ declare namespace live {
|
|
|
9210
9216
|
* @default false
|
|
9211
9217
|
*/
|
|
9212
9218
|
closeVideoDblclick?: boolean;
|
|
9219
|
+
mediaElement?: HTMLVideoElement | null;
|
|
9213
9220
|
}
|
|
9214
9221
|
/** {zh}
|
|
9215
9222
|
* @list option
|
|
@@ -9448,6 +9455,7 @@ declare namespace live {
|
|
|
9448
9455
|
private _previousPrepareResult?;
|
|
9449
9456
|
private _i18nManager;
|
|
9450
9457
|
private _events;
|
|
9458
|
+
private _customMedia?;
|
|
9451
9459
|
private _errorCallback;
|
|
9452
9460
|
/** {zh}
|
|
9453
9461
|
* @hidden
|
|
@@ -10186,6 +10194,9 @@ declare namespace live {
|
|
|
10186
10194
|
isMMSSupported: typeof isMMSSupported;
|
|
10187
10195
|
appendSearchParams: (url?: string | undefined, searchParams?: Record<string, string> | undefined) => string;
|
|
10188
10196
|
getUrlObject: (url?: string | undefined) => URL | undefined;
|
|
10197
|
+
getAttributes(dom: HTMLMediaElement): Record<string, any>;
|
|
10198
|
+
setAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
10199
|
+
replaceAttributes(dom: HTMLMediaElement, attrs?: Record<string, any>): HTMLMediaElement;
|
|
10189
10200
|
createDom(el?: string | undefined, tpl?: string | undefined, attrs?: {
|
|
10190
10201
|
[propName: string]: any;
|
|
10191
10202
|
} | undefined, cname?: string | undefined): HTMLElement;
|
package/veplayer.vod.d.ts
CHANGED
|
@@ -1395,6 +1395,7 @@ interface VePlayerBaseOptions extends Omit<PlayerOptions, "autoplay" | "i18n"> {
|
|
|
1395
1395
|
* @default false
|
|
1396
1396
|
*/
|
|
1397
1397
|
closeVideoDblclick?: boolean;
|
|
1398
|
+
mediaElement?: HTMLVideoElement | null;
|
|
1398
1399
|
}
|
|
1399
1400
|
/** {zh}
|
|
1400
1401
|
* @list option
|
|
@@ -1595,6 +1596,7 @@ declare class VePlayerBase {
|
|
|
1595
1596
|
private _previousPrepareResult?;
|
|
1596
1597
|
private _i18nManager;
|
|
1597
1598
|
private _events;
|
|
1599
|
+
private _customMedia?;
|
|
1598
1600
|
private _errorCallback;
|
|
1599
1601
|
/** {zh}
|
|
1600
1602
|
* @hidden
|
|
@@ -3729,6 +3731,7 @@ declare namespace strategy {
|
|
|
3729
3731
|
* @default false
|
|
3730
3732
|
*/
|
|
3731
3733
|
closeVideoDblclick?: boolean;
|
|
3734
|
+
mediaElement?: HTMLVideoElement | null;
|
|
3732
3735
|
}
|
|
3733
3736
|
/** {zh}
|
|
3734
3737
|
* @list option
|