@vkontakte/videoplayer 1.1.41-dev.75a4a078.0 → 1.1.41-dev.76ef7abd.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/videoplayer",
3
- "version": "1.1.41-dev.75a4a078.0",
3
+ "version": "1.1.41-dev.76ef7abd.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -49,9 +49,9 @@
49
49
  "**/*.d.ts"
50
50
  ],
51
51
  "dependencies": {
52
- "@vkontakte/videoplayer-core": "2.0.108-dev.54596853.0",
53
- "@vkontakte/videoplayer-interactive": "1.0.16-dev.b71ca53d.0",
54
- "@vkontakte/videoplayer-shared": "1.0.40-dev.b8e6991e.0",
55
- "@vkontakte/videoplayer-statistics": "1.0.54-dev.81c7003c.0"
52
+ "@vkontakte/videoplayer-core": "2.0.108-dev.7ca5c32c.0",
53
+ "@vkontakte/videoplayer-interactive": "1.0.16-dev.6164e5b6.0",
54
+ "@vkontakte/videoplayer-shared": "1.0.40-dev.85b25f2f.0",
55
+ "@vkontakte/videoplayer-statistics": "1.0.54-dev.1dca8d4b.0"
56
56
  }
57
57
  }
@@ -44,6 +44,7 @@ export declare class VKVideoPlayer extends HTMLElement {
44
44
  private isPrevButtonActive;
45
45
  private isControlDisabled;
46
46
  private getNextVideoInfo;
47
+ private createOneStat;
47
48
  private createPlayer;
48
49
  private addPlayerInfoSubscriptions;
49
50
  private playNextVideo;
@@ -54,7 +55,6 @@ export declare class VKVideoPlayer extends HTMLElement {
54
55
  private seekToInteractive;
55
56
  private toggleGraph;
56
57
  private initInteractives;
57
- private initInteractivesStatistics;
58
58
  initPlayer(videoConfig: IVKVideoPlayerConfig, sdkConfig?: Partial<ISDKConfig>): void;
59
59
  private isOneVideoPlaylist;
60
60
  /**
package/types/config.d.ts CHANGED
@@ -76,7 +76,6 @@ export interface IUIConfig {
76
76
  fullscreen: boolean;
77
77
  mediaSession: boolean;
78
78
  annotations: boolean;
79
- annotationsInside: boolean;
80
79
  download: boolean;
81
80
  pip: boolean;
82
81
  dpip: boolean;
@@ -97,6 +96,7 @@ export interface IUIConfig {
97
96
  hotKeyMapModal: boolean;
98
97
  hotKeyHelpers: boolean;
99
98
  saveDebugInfoToFile: boolean;
99
+ saveTraceInfoToFile: boolean;
100
100
  additionalButtons: boolean;
101
101
  contextMenuButton: boolean;
102
102
  audioLanguages: boolean;
@@ -1,5 +1,5 @@
1
1
  import { type ISubscription } from '@vkontakte/videoplayer-shared';
2
- import { type IConstructorParams, type IOneStat, type IStatContext } from '@vkontakte/videoplayer-statistics';
2
+ import { type IOneStat } from '@vkontakte/videoplayer-statistics';
3
3
  export interface IUIStatistics {
4
4
  statSubscription: ISubscription;
5
5
  oneStat: IOneStat;
@@ -8,6 +8,6 @@ export interface IUIStatistics {
8
8
  export declare class UIOneStat implements IUIStatistics {
9
9
  oneStat: IOneStat;
10
10
  statSubscription: ISubscription;
11
- constructor(statContext: IStatContext, params: IConstructorParams);
11
+ constructor(oneStat: IOneStat, statSubscription?: ISubscription);
12
12
  destroy(): void;
13
13
  }
@@ -211,6 +211,7 @@ export interface IStore {
211
211
  setLiveWaitingRecord: (state: boolean) => void;
212
212
  clearDelayedBufferingCheckTimeout: () => void;
213
213
  getDebugTextData: () => string;
214
+ getTraceTextData: () => string;
214
215
  getDebugPanelData: () => DebugData;
215
216
  getVideoElement: () => HTMLVideoElement | null;
216
217
  startLogging: () => void;
@@ -359,8 +359,6 @@ export interface IAnnotationsApi {
359
359
  detach: () => void;
360
360
  /** @deprecated Больше нет необходимости переназначать контейнер для аннотаций в ходе работы плеера */
361
361
  reattach: () => void;
362
- /** @private */
363
- init: (container: HTMLElement) => void;
364
362
  add: (annotationName: string, annotation: HTMLElement) => void | never;
365
363
  get: (annotationName: string) => HTMLElement | never;
366
364
  remove: (annotationName: string) => void | never;
@@ -5,7 +5,7 @@ export declare class AnnotationsApi implements IAnnotationsApi {
5
5
  private subscriptions;
6
6
  private mutationObserver;
7
7
  private playerSize;
8
- init(container: HTMLElement): void;
8
+ constructor(container: HTMLElement);
9
9
  add(annotationName: string, annotation: HTMLElement): void | never;
10
10
  get(annotationName: string): HTMLElement | never;
11
11
  remove(annotationName: string): void | never;