@vkontakte/videoplayer 1.1.57 → 1.1.58-beta.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.57",
3
+ "version": "1.1.58-beta.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -49,10 +49,10 @@
49
49
  "**/*.d.ts"
50
50
  ],
51
51
  "dependencies": {
52
- "@adtech/rbadman": "^2.2.57",
53
- "@vkontakte/videoplayer-core": "^2.0.127",
54
- "@vkontakte/videoplayer-interactive": "^1.0.32",
55
- "@vkontakte/videoplayer-shared": "^1.0.55",
56
- "@vkontakte/videoplayer-statistics": "^1.0.72"
52
+ "@adtech/rbadman": "2.2.57",
53
+ "@vkontakte/videoplayer-core": "2.0.128-beta.0",
54
+ "@vkontakte/videoplayer-interactive": "1.0.33-beta.0",
55
+ "@vkontakte/videoplayer-shared": "1.0.56-beta.0",
56
+ "@vkontakte/videoplayer-statistics": "1.0.73-beta.0"
57
57
  }
58
58
  }
package/types/config.d.ts CHANGED
@@ -126,7 +126,6 @@ export interface IUIConfig {
126
126
  nextPrevButtons: boolean;
127
127
  previewNoEmptySpace: boolean;
128
128
  exposeInternalsToGlobal: boolean;
129
- skipInitialPlaybackStateValue: boolean;
130
129
  skipInitialPlaybackRateValue: boolean;
131
130
  qualityDetailsSubMenuEnabled: boolean;
132
131
  forceAutoQualityWhenSevereStallHappens: boolean;
@@ -131,7 +131,7 @@ export interface IStore {
131
131
  positionExact$: Readable<number>;
132
132
  positionWithScrubbing$: Readable<number>;
133
133
  duration$: Readable<number>;
134
- playbackState$: Readable<PlaybackState>;
134
+ playbackState$: Readable<PlaybackState | undefined>;
135
135
  isPlaying$: Readable<boolean>;
136
136
  isLoaderVisible: Readable<boolean>;
137
137
  bufferedProgress$: Readable<number>;
@@ -54,6 +54,7 @@ export interface IVKVideoPlayerCallbacks {
54
54
  onPiPEnter?: () => void;
55
55
  onPiPExit?: () => void;
56
56
  onLiveTime?: (liveTime: number | undefined) => void;
57
+ onLiveEnded?: () => void;
57
58
  onReplayInteractiveVideo?: () => void;
58
59
  onInteractiveHistoryChanged?: (chapterIds: string[]) => void;
59
60
  onDisabledInteractiveClick?: () => void;