@volcengine/veplayer 1.13.2-rc.0 → 1.13.2

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 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
  /**
@@ -5757,59 +5755,6 @@ export declare class Subtitle extends Plugin {
5757
5755
  destroy(): void;
5758
5756
  render(): string;
5759
5757
  }
5760
- export declare type AdRuleOffset = "pre" | "post" | `${number}:${number}:${number}`;
5761
- export declare type AdRuleType = "linear" | "nonlinear";
5762
- export interface AdRule {
5763
- offset: AdRuleOffset;
5764
- tag: string;
5765
- type: AdRuleType;
5766
- }
5767
- export interface AdsConfig {
5768
- controls?: boolean;
5769
- enableSCTE35?: boolean;
5770
- replayForSCTE35?: {
5771
- enable?: boolean;
5772
- minDurationOffset?: number;
5773
- };
5774
- adType: "ima" | "google-ima" | "ssai";
5775
- ima: AdsPluginConfig["ima"] & {
5776
- schedule?: AdRule[];
5777
- adTagUrlForSCTE35?: string;
5778
- };
5779
- }
5780
- export declare class AdsPlugin extends XGAdsPlugin {
5781
- config: AdsConfig;
5782
- csManager: any;
5783
- player: any;
5784
- root: any;
5785
- private _scte35Manager?;
5786
- private _ssManager?;
5787
- private _onPlay?;
5788
- private _onTimeUpdate?;
5789
- private _onPause?;
5790
- private _onError?;
5791
- private _onClick?;
5792
- static get pluginName(): string;
5793
- get adManager(): any;
5794
- afterCreate(): void;
5795
- afterPlayerInit(): void;
5796
- beforePlayerInit(): Promise<any>;
5797
- destroy(): void;
5798
- private _clearSSAIListener;
5799
- private _setupSSAIListener;
5800
- private _dispatchEvent;
5801
- private _init;
5802
- /**
5803
- * Preroll广告播放完,retry重新拉流保证启播延迟
5804
- */
5805
- /**
5806
- * 如果存在midroll广告,需要将disconnectTime和maxLatency设为最大值,否则currentTime的变化会影响展示时间
5807
- */
5808
- /**
5809
- * 静音播放Preroll广告时,需要显示autoplayPlugin插件的ummute蒙层
5810
- */
5811
- private _handlePrerollMuted;
5812
- }
5813
5758
  export declare class TimeShiftPlugin extends Plugin {
5814
5759
  static get pluginName(): string;
5815
5760
  static get defaultConfig(): {