@vkontakte/videoplayer 1.1.58 → 1.1.59-dev.ab17c841.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 +59 -59
- package/es2015.esm.js +59 -59
- package/es2018.cjs.js +59 -59
- package/es2018.esm.js +59 -59
- package/esnext.cjs.js +57 -57
- package/esnext.esm.js +40 -40
- package/evergreen.esm.js +40 -40
- package/package.json +4 -4
- package/types/types/index.d.ts +5 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.59-dev.ab17c841.0",
|
|
4
4
|
"author": "vk.com",
|
|
5
5
|
"description": "Videoplayer based on the vk.com platform",
|
|
6
6
|
"homepage": "https://vk.com",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@adtech/rbadman": "2.2.57",
|
|
53
|
-
"@vkontakte/videoplayer-core": "
|
|
54
|
-
"@vkontakte/videoplayer-interactive": "
|
|
53
|
+
"@vkontakte/videoplayer-core": "2.0.129-dev.90163d61.0",
|
|
54
|
+
"@vkontakte/videoplayer-interactive": "1.0.34-dev.d1ff213b.0",
|
|
55
55
|
"@vkontakte/videoplayer-shared": "^1.0.56",
|
|
56
|
-
"@vkontakte/videoplayer-statistics": "
|
|
56
|
+
"@vkontakte/videoplayer-statistics": "1.0.74-dev.86fb2bab.0"
|
|
57
57
|
}
|
|
58
58
|
}
|
package/types/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VideoQuality, VideoFormat, ISources, IExternalTextTrack } from '@vkontakte/videoplayer-core';
|
|
2
2
|
import type { IValueObservable, InterfaceLanguage, Subscription, IRectangle, DevNullEntry } from '@vkontakte/videoplayer-shared';
|
|
3
|
-
import type { Manifest, VideoInfo, Interactives,
|
|
3
|
+
import type { Manifest, VideoInfo, Interactives, IInteractiveOptions } from '@vkontakte/videoplayer-interactive';
|
|
4
4
|
import { PlaybackState } from '@vkontakte/videoplayer-core';
|
|
5
5
|
import type { Writable, Readable } from 'svelte/store';
|
|
6
6
|
import type { ISDKConfig, IUIConfig } from '../config';
|
|
@@ -188,17 +188,11 @@ export interface IVideoDataWithLive extends IVideoDataBase {
|
|
|
188
188
|
sources?: never;
|
|
189
189
|
}
|
|
190
190
|
export type IVideoData = IVideoDataWithSources | IVideoDataWithLive;
|
|
191
|
-
export interface IInteractiveData {
|
|
191
|
+
export interface IInteractiveData extends Pick<IInteractiveOptions, 'initChapterId' | 'historyApi' | 'projectInfo'> {
|
|
192
192
|
manifest: string | Manifest;
|
|
193
|
-
initChapterId?: string;
|
|
194
193
|
visitedChapters?: string[];
|
|
195
194
|
videosInfo?: VideoInfo[];
|
|
196
|
-
videoLoader?:
|
|
197
|
-
historyApi: {
|
|
198
|
-
get: (videoId: string) => Promise<number[]>;
|
|
199
|
-
save: (videoId: string, videoIds: number[]) => Promise<void>;
|
|
200
|
-
};
|
|
201
|
-
projectInfo?: InteractiveProjectInfo;
|
|
195
|
+
videoLoader?: IInteractiveOptions['vkVideoLoader'];
|
|
202
196
|
tooltipHelpHintActive?: boolean;
|
|
203
197
|
}
|
|
204
198
|
/**
|
|
@@ -243,7 +237,9 @@ export interface IVKVideoPlayerConfig {
|
|
|
243
237
|
isCyrillicRelatedInterface?: boolean;
|
|
244
238
|
logoClickable?: boolean;
|
|
245
239
|
logoHidden?: boolean;
|
|
240
|
+
/** @deprecated */
|
|
246
241
|
isMobile?: boolean;
|
|
242
|
+
isTouch?: boolean;
|
|
247
243
|
/** @deprecated */
|
|
248
244
|
isMediaSessionEnabled?: boolean;
|
|
249
245
|
/** @deprecated */
|