@volcengine/veplayer 1.13.0-rc.0 → 1.13.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/index.d.ts +0 -60
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6,8 +6,6 @@ import VodLogger from '@byted/xgplayer-app-logger/es/logger';
|
|
|
6
6
|
import EventEmitter from 'eventemitter3';
|
|
7
7
|
import Player from 'xgplayer';
|
|
8
8
|
import { BasePlugin, I18N, IXGI18nText, Plugin } from 'xgplayer';
|
|
9
|
-
import XGAdsPlugin from 'xgplayer-ads';
|
|
10
|
-
import { AdsPluginConfig } from 'xgplayer-ads/es/plugin';
|
|
11
9
|
import { IUrl } from 'xgplayer/es/defaultConfig';
|
|
12
10
|
|
|
13
11
|
/**
|
|
@@ -4828,11 +4826,6 @@ declare class VePlayer {
|
|
|
4828
4826
|
* @memberof VePlayer
|
|
4829
4827
|
*/
|
|
4830
4828
|
static sdkVersion: string;
|
|
4831
|
-
/**
|
|
4832
|
-
* @hidden
|
|
4833
|
-
* @private 私有加密会话id
|
|
4834
|
-
*/
|
|
4835
|
-
private static privateEncryptSessionId;
|
|
4836
4829
|
/**
|
|
4837
4830
|
* @hidden
|
|
4838
4831
|
*/
|
|
@@ -5762,59 +5755,6 @@ export declare class Subtitle extends Plugin {
|
|
|
5762
5755
|
destroy(): void;
|
|
5763
5756
|
render(): string;
|
|
5764
5757
|
}
|
|
5765
|
-
export declare type AdRuleOffset = "pre" | "post" | `${number}:${number}:${number}`;
|
|
5766
|
-
export declare type AdRuleType = "linear" | "nonlinear";
|
|
5767
|
-
export interface AdRule {
|
|
5768
|
-
offset: AdRuleOffset;
|
|
5769
|
-
tag: string;
|
|
5770
|
-
type: AdRuleType;
|
|
5771
|
-
}
|
|
5772
|
-
export interface AdsConfig {
|
|
5773
|
-
controls?: boolean;
|
|
5774
|
-
enableSCTE35?: boolean;
|
|
5775
|
-
replayForSCTE35?: {
|
|
5776
|
-
enable?: boolean;
|
|
5777
|
-
minDurationOffset?: number;
|
|
5778
|
-
};
|
|
5779
|
-
adType: "ima" | "google-ima" | "ssai";
|
|
5780
|
-
ima: AdsPluginConfig["ima"] & {
|
|
5781
|
-
schedule?: AdRule[];
|
|
5782
|
-
adTagUrlForSCTE35?: string;
|
|
5783
|
-
};
|
|
5784
|
-
}
|
|
5785
|
-
export declare class AdsPlugin extends XGAdsPlugin {
|
|
5786
|
-
config: AdsConfig;
|
|
5787
|
-
csManager: any;
|
|
5788
|
-
player: any;
|
|
5789
|
-
root: any;
|
|
5790
|
-
private _scte35Manager?;
|
|
5791
|
-
private _ssManager?;
|
|
5792
|
-
private _onPlay?;
|
|
5793
|
-
private _onTimeUpdate?;
|
|
5794
|
-
private _onPause?;
|
|
5795
|
-
private _onError?;
|
|
5796
|
-
private _onClick?;
|
|
5797
|
-
static get pluginName(): string;
|
|
5798
|
-
get adManager(): any;
|
|
5799
|
-
afterCreate(): void;
|
|
5800
|
-
afterPlayerInit(): void;
|
|
5801
|
-
beforePlayerInit(): Promise<any>;
|
|
5802
|
-
destroy(): void;
|
|
5803
|
-
private _clearSSAIListener;
|
|
5804
|
-
private _setupSSAIListener;
|
|
5805
|
-
private _dispatchEvent;
|
|
5806
|
-
private _init;
|
|
5807
|
-
/**
|
|
5808
|
-
* Preroll广告播放完,retry重新拉流保证启播延迟
|
|
5809
|
-
*/
|
|
5810
|
-
/**
|
|
5811
|
-
* 如果存在midroll广告,需要将disconnectTime和maxLatency设为最大值,否则currentTime的变化会影响展示时间
|
|
5812
|
-
*/
|
|
5813
|
-
/**
|
|
5814
|
-
* 静音播放Preroll广告时,需要显示autoplayPlugin插件的ummute蒙层
|
|
5815
|
-
*/
|
|
5816
|
-
private _handlePrerollMuted;
|
|
5817
|
-
}
|
|
5818
5758
|
export declare class TimeShiftPlugin extends Plugin {
|
|
5819
5759
|
static get pluginName(): string;
|
|
5820
5760
|
static get defaultConfig(): {
|