@vkontakte/videoplayer 1.1.50-dev.a0da7d07.0 → 1.1.50-dev.c05dcf7e.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 +17 -17
- package/es2015.esm.js +17 -17
- package/es2018.cjs.js +17 -17
- package/es2018.esm.js +17 -17
- package/esnext.cjs.js +15 -15
- package/esnext.esm.js +15 -15
- package/evergreen.esm.js +15 -15
- package/package.json +5 -5
- package/types/VKVideoPlayer/index.d.ts +1 -0
- package/types/store/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer",
|
|
3
|
-
"version": "1.1.50-dev.
|
|
3
|
+
"version": "1.1.50-dev.c05dcf7e.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.117-dev.
|
|
53
|
-
"@vkontakte/videoplayer-interactive": "1.0.25-dev.
|
|
54
|
-
"@vkontakte/videoplayer-shared": "1.0.49-dev.
|
|
55
|
-
"@vkontakte/videoplayer-statistics": "1.0.64-dev.
|
|
52
|
+
"@vkontakte/videoplayer-core": "2.0.117-dev.d9cc3d97.0",
|
|
53
|
+
"@vkontakte/videoplayer-interactive": "1.0.25-dev.25c02d03.0",
|
|
54
|
+
"@vkontakte/videoplayer-shared": "1.0.49-dev.ed1df4eb.0",
|
|
55
|
+
"@vkontakte/videoplayer-statistics": "1.0.64-dev.11fe117f.0"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -83,6 +83,7 @@ export declare class VKVideoPlayer extends HTMLElement {
|
|
|
83
83
|
setLiveWaitingRecover(): void;
|
|
84
84
|
setLiveWaitingRecord(): void;
|
|
85
85
|
setLiveEnd(videoData: IVideoData): void;
|
|
86
|
+
setLiveLowLatency(isLowLatency: boolean): void;
|
|
86
87
|
getDeviceId(): string | undefined;
|
|
87
88
|
replayInteractiveVideo(): void;
|
|
88
89
|
replayInteractiveChapter(callback?: () => void): Promise<void>;
|
package/types/store/index.d.ts
CHANGED
|
@@ -278,6 +278,7 @@ export interface IStore {
|
|
|
278
278
|
updateAdditionalButton: (itemId: string, fields: Partial<Omit<AdditionalButton, 'id' | 'type'>>) => void;
|
|
279
279
|
addAdditionalButton: (newButton: AdditionalButton) => void;
|
|
280
280
|
removeAdditionalButton: (itemId: string) => void;
|
|
281
|
+
setLiveLowLatency: (isLowLatency: boolean) => void;
|
|
281
282
|
};
|
|
282
283
|
};
|
|
283
284
|
callbacks?: IVKVideoPlayerCallbacks;
|
|
@@ -318,11 +319,10 @@ interface IStoreParams {
|
|
|
318
319
|
looped?: boolean;
|
|
319
320
|
statistics?: UIOneStat;
|
|
320
321
|
saveRate: boolean;
|
|
321
|
-
isExpectedLive: boolean;
|
|
322
322
|
}
|
|
323
323
|
/**
|
|
324
324
|
* Store приложения.
|
|
325
325
|
* Если будет слишком большим - можно разделить его на модули
|
|
326
326
|
*/
|
|
327
|
-
export declare const createStore: ({ interfaceLanguage, isCyrillicRelatedInterface, videoId, isClip, isLiveCatchUpMode, statAuthToken, isAudioDisabled, canDownload, callbacks, webApi, videoEpisodes, previewThumbsData, uiConfig, coreConfig, player: playerInstance, disabledControls, isInteractive, interactiveRanges$, isInteractiveTime$, replayInteractive, stopPlayer, hasInteractiveBranches, playPrevChapterDisabledTooltip, additionalButtons, additionalSettingsMenuItems, additionalContextMenuItems, playPrevVideo, playNextVideo, looped, statistics: uiStatistics, saveRate,
|
|
327
|
+
export declare const createStore: ({ interfaceLanguage, isCyrillicRelatedInterface, videoId, isClip, isLiveCatchUpMode, statAuthToken, isAudioDisabled, canDownload, callbacks, webApi, videoEpisodes, previewThumbsData, uiConfig, coreConfig, player: playerInstance, disabledControls, isInteractive, interactiveRanges$, isInteractiveTime$, replayInteractive, stopPlayer, hasInteractiveBranches, playPrevChapterDisabledTooltip, additionalButtons, additionalSettingsMenuItems, additionalContextMenuItems, playPrevVideo, playNextVideo, looped, statistics: uiStatistics, saveRate, }: IStoreParams) => IStore;
|
|
328
328
|
export {};
|