@vkontakte/videoplayer 1.1.46-beta.1 → 1.1.46-dev.bf8cc5be.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.46-beta.1",
3
+ "version": "1.1.46-dev.bf8cc5be.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.113-beta.1",
53
- "@vkontakte/videoplayer-interactive": "1.0.21-beta.1",
54
- "@vkontakte/videoplayer-shared": "1.0.45-beta.1",
55
- "@vkontakte/videoplayer-statistics": "1.0.60-beta.1"
52
+ "@vkontakte/videoplayer-core": "2.0.113-beta.2",
53
+ "@vkontakte/videoplayer-interactive": "1.0.21-dev.ea2eab48.0",
54
+ "@vkontakte/videoplayer-shared": "1.0.45-beta.2",
55
+ "@vkontakte/videoplayer-statistics": "1.0.60-beta.2"
56
56
  }
57
57
  }
package/types/config.d.ts CHANGED
@@ -89,6 +89,7 @@ export interface IUIConfig {
89
89
  copyVideoLink: boolean;
90
90
  videoRotate: boolean;
91
91
  interactiveGraph: boolean;
92
+ interactiveResponsiveUi?: boolean;
92
93
  seekToInteractive: boolean;
93
94
  interactiveLastFrame: boolean;
94
95
  interactiveTextPermanent: boolean;
@@ -231,6 +231,7 @@ export interface IStore {
231
231
  nextMovie: (movieId: number) => void;
232
232
  correctSeekTimeToInteractive: (time: number) => number;
233
233
  replayInteractive?: () => void;
234
+ stopPlayer?: () => void;
234
235
  setLooped: (isLooped: boolean) => void;
235
236
  reportProblem: () => void;
236
237
  };
@@ -238,6 +239,7 @@ export interface IStore {
238
239
  firstStart: (showAds: boolean) => void;
239
240
  play: () => void;
240
241
  pause: () => void;
242
+ stop: () => void;
241
243
  seekTime: (time: number) => void;
242
244
  seekEpisodeStartTime: (time: number) => void;
243
245
  setPlaybackRate: (playbackRate: PlaybackRate) => void;
@@ -279,6 +281,7 @@ interface IStoreParams {
279
281
  interactiveRanges$?: IValueObservable<InteractiveRange[]>;
280
282
  isInteractiveTime$?: IValueObservable<boolean>;
281
283
  replayInteractive?: () => void;
284
+ stopPlayer?: () => void;
282
285
  hasInteractiveBranches?: boolean;
283
286
  disabledControls: ControlsKeys;
284
287
  playPrevChapterDisabledTooltip: PlayPrevChapterDisabledTooltipKey;
@@ -293,5 +296,5 @@ interface IStoreParams {
293
296
  * Store приложения.
294
297
  * Если будет слишком большим - можно разделить его на модули
295
298
  */
296
- 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, hasInteractiveBranches, playPrevChapterDisabledTooltip, additionalButtons, additionalSettingsMenuItems, additionalContextMenuItems, looped, statistics: uiStatistics, saveRate, }: IStoreParams) => IStore;
299
+ 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, looped, statistics: uiStatistics, saveRate, }: IStoreParams) => IStore;
297
300
  export {};