@vkontakte/videoplayer 1.1.62-dev.92a4e8bb.0 → 1.1.62-dev.96a1e2ab.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.62-dev.92a4e8bb.0",
3
+ "version": "1.1.62-dev.96a1e2ab.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -55,9 +55,9 @@
55
55
  ],
56
56
  "dependencies": {
57
57
  "@adtech/rbadman": "2.2.57",
58
- "@vkontakte/videoplayer-core": "2.0.132-dev.c5952ae2.0",
59
- "@vkontakte/videoplayer-interactive": "1.0.37-dev.9bbd6300.0",
60
- "@vkontakte/videoplayer-shared": "1.0.60-dev.8dc1c861.0",
61
- "@vkontakte/videoplayer-statistics": "1.0.78-dev.a96b8192.0"
58
+ "@vkontakte/videoplayer-core": "2.0.132-dev.f5128c96.0",
59
+ "@vkontakte/videoplayer-interactive": "1.0.37-dev.50aa7c21.0",
60
+ "@vkontakte/videoplayer-shared": "1.0.60-dev.5925f64b.0",
61
+ "@vkontakte/videoplayer-statistics": "1.0.78-dev.52b33c54.0"
62
62
  }
63
63
  }
package/types/config.d.ts CHANGED
@@ -180,6 +180,10 @@ export interface IUIConfig {
180
180
  buttonColor: string | null;
181
181
  buttonToggleOnColor: string | null;
182
182
  focusedColor: string | null;
183
+ focusedOutlineWidth: string | null;
184
+ focusedOutlineRadius: string | null;
185
+ controlsDesktopPaddingHorizontal: string | null;
186
+ timelinePaddingHorizontal: string | null;
183
187
  };
184
188
  }
185
189
  export declare const defaultConfig: IUIConfig;
@@ -177,7 +177,10 @@ export interface IVideoDataBase {
177
177
  title: string;
178
178
  thumbUrl?: string;
179
179
  unitedVideoId?: number;
180
- duration: number;
180
+ /**
181
+ * duration используется только для инициализации адмана.
182
+ */
183
+ duration?: number;
181
184
  adsParams?: AdsParams;
182
185
  videoEpisodes?: IVideoEpisode[];
183
186
  previewThumbsData?: ITimelinePreviewThumbsData;
@@ -214,12 +217,6 @@ export interface AdditionalButtonDeprecated {
214
217
  hideOnDesktopGridTypes?: GridTypes[];
215
218
  hideOnMobile?: boolean;
216
219
  }
217
- /**
218
- * Определяет внешний вид плеера и его функциональность.
219
- * compact - оставляется только таймлайн, все остальные элементы скрыты;
220
- * full - полная функциональность плеера доступна.
221
- */
222
- export type VideoPlayerView = 'compact' | 'full';
223
220
  export interface IVKVideoPlayerConfig {
224
221
  videos: IVideoData[];
225
222
  videoIndex?: number;
@@ -274,7 +271,6 @@ export interface IVKVideoPlayerConfig {
274
271
  showAutoplayNext?: boolean;
275
272
  showNextPrevButtons?: boolean;
276
273
  pipEnabled?: boolean;
277
- playerView?: VideoPlayerView;
278
274
  }
279
275
  export interface IControlInfo {
280
276
  left: number;