@vkontakte/videoplayer 1.1.39-dev.e7a805cd.0 → 1.1.39-dev.f8b1be6a.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.39-dev.e7a805cd.0",
3
+ "version": "1.1.39-dev.f8b1be6a.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.106-dev.2c6cf63d.0",
53
- "@vkontakte/videoplayer-interactive": "1.0.14-dev.cffb9cd7.0",
54
- "@vkontakte/videoplayer-shared": "1.0.38-dev.26439a3d.0",
55
- "@vkontakte/videoplayer-statistics": "1.0.52-dev.e6b5faf5.0"
52
+ "@vkontakte/videoplayer-core": "2.0.106-dev.93f89473.0",
53
+ "@vkontakte/videoplayer-interactive": "1.0.14-dev.e3975615.0",
54
+ "@vkontakte/videoplayer-shared": "1.0.38-dev.c2293902.0",
55
+ "@vkontakte/videoplayer-statistics": "1.0.52-dev.84b2b99a.0"
56
56
  }
57
57
  }
@@ -38,6 +38,7 @@ export declare class AdmanWrapper {
38
38
  private actions;
39
39
  private adsState;
40
40
  private playerState;
41
+ private isDestroyed;
41
42
  private readonly log;
42
43
  private loadTimeout;
43
44
  private initTimeout;
@@ -1,6 +1,6 @@
1
1
  import type { IConfig, IExternalTextTrack, IOptionalTuningConfig, IPlayer, ISources, PlaybackRate, IAudioStream, IVideoStream } from '@vkontakte/videoplayer-core';
2
2
  import { ChromecastState, PlaybackState, VideoFormat } from '@vkontakte/videoplayer-core';
3
- import { type ICurrentBrowserInfo, type IError, type ILogger, type IRectangle, type IValueObservable, type QualityLimits } from '@vkontakte/videoplayer-shared';
3
+ import { type IError, type ILogger, type IRectangle, type IValueObservable, type QualityLimits } from '@vkontakte/videoplayer-shared';
4
4
  import { InterfaceLanguage, VideoQuality } from '@vkontakte/videoplayer-shared';
5
5
  import type { IUIConfig } from '../config';
6
6
  import { SeekAction } from '@vkontakte/videoplayer-statistics';
@@ -86,7 +86,6 @@ export interface IUIState {
86
86
  is3DVideo: Writable<boolean>;
87
87
  isPictureInPictureActive$: Readable<boolean>;
88
88
  pictureInPictureType$: Readable<PictureInPictureType>;
89
- clientInfo$: Readable<ICurrentBrowserInfo>;
90
89
  currentGridType$: Readable<GridTypes>;
91
90
  interactiveHideMobileControls: Writable<boolean>;
92
91
  additionalButtons$: Readable<AdditionalButton[]>;
@@ -105,6 +104,7 @@ export interface IStore {
105
104
  isClip: boolean;
106
105
  playerPhase: IPlayerPhase;
107
106
  interfaceLanguage$: Readable<InterfaceLanguage | string>;
107
+ isCyrillicRelatedInterface$: Readable<boolean>;
108
108
  interactiveData?: IInteractiveData;
109
109
  vsid: Readable<string | undefined>;
110
110
  state: {
@@ -250,6 +250,7 @@ export interface IStore {
250
250
  }
251
251
  interface IStoreParams {
252
252
  interfaceLanguage: InterfaceLanguage | string;
253
+ isCyrillicRelatedInterface: boolean;
253
254
  videoId?: number;
254
255
  isClip: boolean;
255
256
  isLiveCatchUpMode?: boolean;
@@ -279,5 +280,5 @@ interface IStoreParams {
279
280
  * Store приложения.
280
281
  * Если будет слишком большим - можно разделить его на модули
281
282
  */
282
- export declare const createStore: ({ interfaceLanguage, videoId, isClip, isLiveCatchUpMode, statAuthToken, isAudioDisabled, canDownload, callbacks, webApi, videoEpisodes, previewThumbsData, uiConfig, coreConfig, player: playerInstance, disabledControls, isInteractive, interactiveRanges$, isInteractiveTime$, replayInteractive, hasInteractiveBranches, playPrevChapterDisabledTooltip, additionalButtons, looped, statistics: uiStatistics, saveRate, }: IStoreParams) => IStore;
283
+ 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, looped, statistics: uiStatistics, saveRate, }: IStoreParams) => IStore;
283
284
  export {};
@@ -200,6 +200,7 @@ export interface IVKVideoPlayerConfig {
200
200
  adsParams?: AdsParams;
201
201
  adsPreviewParam?: number;
202
202
  interfaceLanguage?: InterfaceLanguage | string;
203
+ isCyrillicRelatedInterface?: boolean;
203
204
  logoClickable?: boolean;
204
205
  logoHidden?: boolean;
205
206
  isMobile?: boolean;
@@ -1,2 +0,0 @@
1
- import type { ICurrentBrowserInfo } from '@vkontakte/videoplayer-shared';
2
- export declare const isIphoneOrOldIpad: (clientInfo: ICurrentBrowserInfo) => boolean;