@vkontakte/videoplayer 1.1.39-dev.5efc178a.0 → 1.1.39-dev.80f5e2f8.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.5efc178a.0",
3
+ "version": "1.1.39-dev.80f5e2f8.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.0a68a9e0.0",
53
- "@vkontakte/videoplayer-interactive": "1.0.14-dev.d69cc93b.0",
54
- "@vkontakte/videoplayer-shared": "1.0.38-dev.736aea74.0",
55
- "@vkontakte/videoplayer-statistics": "1.0.52-dev.481d14b2.0"
52
+ "@vkontakte/videoplayer-core": "2.0.106-dev.4a1d56e8.0",
53
+ "@vkontakte/videoplayer-interactive": "1.0.14-dev.25eb2840.0",
54
+ "@vkontakte/videoplayer-shared": "1.0.38-dev.a294cd03.0",
55
+ "@vkontakte/videoplayer-statistics": "1.0.52-dev.21b5e857.0"
56
56
  }
57
57
  }
@@ -1,23 +1,2 @@
1
1
  export declare const VK_LANG_PACK_NAME = "videoplayer";
2
2
  export declare const VK_LANG_PACK_PREFIX = "videoplayer";
3
- export declare const IS_CYRILLIC_BY_NAVIGATOR: boolean;
4
- export declare const enum CyrillicRelatedCountryCodes {
5
- RU = "ru",
6
- AZ = "az",
7
- HY = "hy",
8
- BE = "be",
9
- KZ = "kz",
10
- KY = "ky",
11
- TG = "tg",
12
- UZ = "uz",
13
- RO = "ro",
14
- UA = "ua",
15
- KA = "ka",
16
- LV = "lv",
17
- LT = "lt",
18
- ET = "et",
19
- TT = "tt",
20
- OS = "os",
21
- CV = "cv"
22
- }
23
- export declare const CyrillicRelatedCountryCodeSet: Set<CyrillicRelatedCountryCodes>;
@@ -105,6 +105,7 @@ export interface IStore {
105
105
  isClip: boolean;
106
106
  playerPhase: IPlayerPhase;
107
107
  interfaceLanguage$: Readable<InterfaceLanguage | string>;
108
+ isCyrillicRelatedInterface$: Readable<boolean>;
108
109
  interactiveData?: IInteractiveData;
109
110
  vsid: Readable<string | undefined>;
110
111
  state: {
@@ -250,6 +251,7 @@ export interface IStore {
250
251
  }
251
252
  interface IStoreParams {
252
253
  interfaceLanguage: InterfaceLanguage | string;
254
+ isCyrillicRelatedInterface: boolean;
253
255
  videoId?: number;
254
256
  isClip: boolean;
255
257
  isLiveCatchUpMode?: boolean;
@@ -279,5 +281,5 @@ interface IStoreParams {
279
281
  * Store приложения.
280
282
  * Если будет слишком большим - можно разделить его на модули
281
283
  */
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;
284
+ 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
285
  export {};
@@ -199,6 +199,7 @@ export interface IVKVideoPlayerConfig {
199
199
  adsParams?: AdsParams;
200
200
  adsPreviewParam?: number;
201
201
  interfaceLanguage?: InterfaceLanguage | string;
202
+ isCyrillicRelatedInterface?: boolean;
202
203
  logoClickable?: boolean;
203
204
  logoHidden?: boolean;
204
205
  isMobile?: boolean;