@vkontakte/videoplayer-core 2.0.126-dev.2bdf3b93.0 → 2.0.126-dev.4f758174.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-core",
3
- "version": "2.0.126-dev.2bdf3b93.0",
3
+ "version": "2.0.126-dev.4f758174.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer core library based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -49,7 +49,7 @@
49
49
  "**/*.d.ts"
50
50
  ],
51
51
  "dependencies": {
52
- "@vkontakte/videoplayer-shared": "1.0.54-dev.ba2dd100.0",
52
+ "@vkontakte/videoplayer-shared": "1.0.54-dev.b61e399f.0",
53
53
  "hls.js": "~1.4.7"
54
54
  }
55
55
  }
@@ -112,4 +112,5 @@ export declare class BufferManager {
112
112
  private detectGaps;
113
113
  private detectGapsWhenIdle;
114
114
  private checkEjectedSegments;
115
+ private handleAsyncError;
115
116
  }
@@ -1,5 +1,5 @@
1
1
  import { ITuningConfig } from '../../../utils/tuningConfig';
2
- type Constraints = Pick<ITuningConfig, 'audioVideoSyncRate'>;
3
- export declare const allocate: (container: HTMLElement, { audioVideoSyncRate }: Constraints) => HTMLVideoElement;
2
+ type Constraints = Pick<ITuningConfig, 'audioVideoSyncRate' | 'disableYandexPiP'>;
3
+ export declare const allocate: (container: HTMLElement, { audioVideoSyncRate, disableYandexPiP }: Constraints) => HTMLVideoElement;
4
4
  export declare const dispose: (element: HTMLVideoElement) => void;
5
5
  export {};
@@ -192,6 +192,10 @@ export type ITuningConfig = {
192
192
  * попробуем получить следующий сегмент субтитров
193
193
  */
194
194
  hlsLiveNewTextManagerDownloadThreshold: Milliseconds;
195
+ /**
196
+ * Отключает яндексовскую магию с пипом.
197
+ */
198
+ disableYandexPiP?: boolean;
195
199
  };
196
200
  export type IOptionalTuningConfig = RecursivePartial<ITuningConfig> & {
197
201
  configName: ITuningConfig['configName'];