@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/videoplayer",
3
- "version": "1.1.50-dev.a0da7d07.0",
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.4ed7435a.0",
53
- "@vkontakte/videoplayer-interactive": "1.0.25-dev.ef57f931.0",
54
- "@vkontakte/videoplayer-shared": "1.0.49-dev.65228c05.0",
55
- "@vkontakte/videoplayer-statistics": "1.0.64-dev.2c5c46d5.0"
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>;
@@ -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, isExpectedLive, }: IStoreParams) => IStore;
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 {};