@vkontakte/videoplayer 1.1.89-dev.e9708fb6.0 → 1.1.89

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.89-dev.e9708fb6.0",
3
+ "version": "1.1.89",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -43,9 +43,9 @@
43
43
  ],
44
44
  "dependencies": {
45
45
  "@adtech/rbadman": "2.2.57",
46
- "@vkontakte/videoplayer-core": "2.0.158-dev.e9708fb6.0",
47
- "@vkontakte/videoplayer-interactive": "1.0.64-dev.e9708fb6.0",
48
- "@vkontakte/videoplayer-shared": "1.0.87-dev.e9708fb6.0",
49
- "@vkontakte/videoplayer-statistics": "1.0.104-dev.e9708fb6.0"
46
+ "@vkontakte/videoplayer-core": "2.0.158",
47
+ "@vkontakte/videoplayer-interactive": "1.0.64",
48
+ "@vkontakte/videoplayer-shared": "1.0.87",
49
+ "@vkontakte/videoplayer-statistics": "1.0.104"
50
50
  }
51
51
  }
@@ -33,6 +33,7 @@ export interface RootProps {
33
33
  firstStart: (external?: boolean) => void;
34
34
  seekTime: (Seconds: number) => void;
35
35
  onDomReady: VoidFunction;
36
+ showEndScreen?: boolean;
36
37
  }
37
38
  export interface RootExports {
38
39
  setPlayerStarted: (value: boolean) => void;
@@ -4,4 +4,4 @@ export type { IStore, IAdsState, IUIState } from "./types";
4
4
  * Store приложения.
5
5
  * Если будет слишком большим - можно разделить его на модули
6
6
  */
7
- export declare const createStore: ({ interfaceLanguage, isCyrillicRelatedInterface, isTouch, isLiveCatchUpMode, statAuthToken, isAudioDisabled, canDownload, callbacks, webApi, videoEpisodes: initialVideoEpisodes, previewThumbsData: initialPreviewThumbsData, uiConfig, coreConfig, player: playerInstance, disabledControls, isInteractive, interactiveRanges$, isInteractiveTime$, replayInteractive, stopPlayer, hasInteractiveBranches, playPrevChapterDisabledTooltip, additionalButtons, additionalSettingsMenuItems, additionalContextMenuItems, playPrevVideo, playNextVideo, onVideoChanged, looped, getStatisticsService, saveRate, internalsExposure, playerView, playerId, metaConfig, getAppTracer, getAdmanWrapper, logger }: IStoreParams) => IStore;
7
+ export declare const createStore: ({ interfaceLanguage, isCyrillicRelatedInterface, initialVideoId, isTouch, isLiveCatchUpMode, statAuthToken, isAudioDisabled, canDownload, callbacks, webApi, videoEpisodes: initialVideoEpisodes, previewThumbsData: initialPreviewThumbsData, uiConfig, coreConfig, player: playerInstance, disabledControls, isInteractive, interactiveRanges$, isInteractiveTime$, replayInteractive, stopPlayer, hasInteractiveBranches, playPrevChapterDisabledTooltip, additionalButtons, additionalSettingsMenuItems, additionalContextMenuItems, playPrevVideo, playNextVideo, onVideoChanged, looped, getStatisticsService, saveRate, internalsExposure, playerView, playerId, metaConfig, getAppTracer, getAdmanWrapper, logger }: IStoreParams) => IStore;
@@ -364,6 +364,7 @@ export interface IStore {
364
364
  export interface IStoreParams {
365
365
  interfaceLanguage: InterfaceLanguage | string;
366
366
  isCyrillicRelatedInterface: boolean;
367
+ initialVideoId?: number;
367
368
  isTouch: boolean;
368
369
  isLiveCatchUpMode?: boolean;
369
370
  isAudioDisabled?: boolean;
@@ -157,7 +157,6 @@ export interface IVKVideoPlayerCallbacks {
157
157
  onTitleChanged?: (value?: IControlInfo) => void;
158
158
  onControlWillChange?: (params: ControlWillChangeParams) => void;
159
159
  onPreviewTimelineActiveChanged?: (active: boolean) => void;
160
- onSubtitlesContainerChanged?: (value?: IControlInfo) => void;
161
160
  };
162
161
  adsInfo?: {
163
162
  onLoadStarted?: () => void;