@vkontakte/videoplayer-core 2.0.124-dev.3c5ab8e6.0 → 2.0.124-dev.da742f3e.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.124-dev.3c5ab8e6.0",
3
+ "version": "2.0.124-dev.da742f3e.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.53-dev.8f0558fc.0",
52
+ "@vkontakte/videoplayer-shared": "1.0.53-dev.ac5dd604.0",
53
53
  "hls.js": "~1.4.7"
54
54
  }
55
55
  }
@@ -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' | 'useCrossOriginAnonymous'>;
3
+ export declare const allocate: (container: HTMLElement, { audioVideoSyncRate, useCrossOriginAnonymous }: Constraints) => HTMLVideoElement;
4
4
  export declare const dispose: (element: HTMLVideoElement) => void;
5
5
  export {};
@@ -191,6 +191,7 @@ export type ITuningConfig = {
191
191
  * попробуем получить следующий сегмент субтитров
192
192
  */
193
193
  hlsLiveNewTextManagerDownloadThreshold: Milliseconds;
194
+ useCrossOriginAnonymous: boolean;
194
195
  };
195
196
  export type IOptionalTuningConfig = RecursivePartial<ITuningConfig> & {
196
197
  configName: ITuningConfig['configName'];