@vkontakte/videoplayer 1.1.38-dev.5decff27.0 → 1.1.38-dev.71495140.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.38-dev.5decff27.0",
3
+ "version": "1.1.38-dev.71495140.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.105-dev.10c7e58e.0",
53
- "@vkontakte/videoplayer-interactive": "1.0.13-dev.bf7aa79b.0",
54
- "@vkontakte/videoplayer-shared": "1.0.37-dev.d0884b61.0",
55
- "@vkontakte/videoplayer-statistics": "1.0.51-dev.590b2c8f.0"
52
+ "@vkontakte/videoplayer-core": "2.0.105-dev.35548197.0",
53
+ "@vkontakte/videoplayer-interactive": "1.0.13-dev.ce34fb1e.0",
54
+ "@vkontakte/videoplayer-shared": "1.0.37-dev.7467b46e.0",
55
+ "@vkontakte/videoplayer-statistics": "1.0.51-dev.cd839d21.0"
56
56
  }
57
57
  }
@@ -82,4 +82,5 @@ export declare class VKVideoPlayer extends HTMLElement {
82
82
  getDeviceId(): string | undefined;
83
83
  replayInteractiveVideo(): void;
84
84
  showInteractiveIndicatorTooltip(newValue: boolean, useTimeout?: boolean): void;
85
+ switchToActiveLive(): void;
85
86
  }
@@ -11,7 +11,7 @@ import type { LanguageConfig } from '../translation/types';
11
11
  import type { AdditionalButton, ControlsKeys, HotKeyMapData, IAnnotationsApi, IControlInfo, IDisabledControls, IInteractiveData, IPictureInPictureApi, IPlayerPhase, ITimelinePreviewThumbsData, IVideoEpisode, IVKVideoPlayerCallbacks, IVKVideoPlayerUICallbacks, Position, VideoPlaybackRate, VideoQualityForRender, VideoQualityUI, VideoSubtitle, VideoSubtitleParsed } from '../types';
12
12
  import { AdsPlaybackState, PictureInPictureType } from '../types';
13
13
  import type { DebugData } from './utils';
14
- import type { PlayPrevChapterDisabledTooltipKey } from '../constans';
14
+ import { type PlayPrevChapterDisabledTooltipKey } from '../constans';
15
15
  import { GridTypes } from '../constans';
16
16
  import { UIOneStat } from '../services/statistics';
17
17
  export interface IAdsState {
@@ -85,6 +85,10 @@ export interface IVKVideoPlayerCallbacks {
85
85
  height: number;
86
86
  }) => void;
87
87
  };
88
+ adsInfo?: {
89
+ onStarted?: () => void;
90
+ onCompleted?: () => void;
91
+ };
88
92
  }
89
93
  export interface IVKVideoPlayerUICallbacks {
90
94
  onStarted?: (isMuted: boolean) => void;
@@ -210,6 +214,7 @@ export interface IVKVideoPlayerConfig {
210
214
  callbacks?: IVKVideoPlayerCallbacks;
211
215
  additionalButtons?: AdditionalButton[];
212
216
  refDomain?: string;
217
+ volumeMultiplier?: number;
213
218
  saveRate?: boolean;
214
219
  }
215
220
  export interface IControlInfo {