@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/es2015.cjs.js +16 -16
- package/es2015.esm.js +16 -16
- package/es2018.cjs.js +10 -10
- package/es2018.esm.js +13 -13
- package/esnext.cjs.js +23 -23
- package/esnext.esm.js +21 -21
- package/evergreen.esm.js +11 -11
- package/package.json +2 -2
- package/types/providers/DashProvider/lib/buffer.d.ts +1 -0
- package/types/providers/utils/HTMLVideoElement/pool.d.ts +2 -2
- package/types/utils/tuningConfig.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer-core",
|
|
3
|
-
"version": "2.0.126-dev.
|
|
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.
|
|
52
|
+
"@vkontakte/videoplayer-shared": "1.0.54-dev.b61e399f.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' | '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'];
|