@vkontakte/videoplayer 1.1.54-dev.35e528df.0 → 1.1.54-dev.595e478a.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/es2015.cjs.js +13 -13
- package/es2015.esm.js +13 -13
- package/es2018.cjs.js +13 -13
- package/es2018.esm.js +13 -13
- package/esnext.cjs.js +13 -13
- package/esnext.esm.js +13 -13
- package/evergreen.esm.js +13 -13
- package/package.json +5 -5
- package/types/config.d.ts +1 -0
- package/types/store/index.d.ts +2 -3
- package/types/utils/hooks/useIosSafariFullscreen.d.ts +0 -6
- package/types/utils/hooks/useIosSafariFullscreenSubtitles.d.ts +0 -7
- package/types/utils/subtitles.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer",
|
|
3
|
-
"version": "1.1.54-dev.
|
|
3
|
+
"version": "1.1.54-dev.595e478a.0",
|
|
4
4
|
"author": "vk.com",
|
|
5
5
|
"description": "Videoplayer based on the vk.com platform",
|
|
6
6
|
"homepage": "https://vk.com",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@adtech/rbadman": "^2.2.57",
|
|
53
|
-
"@vkontakte/videoplayer-core": "2.0.
|
|
54
|
-
"@vkontakte/videoplayer-interactive": "1.0.29-dev.
|
|
55
|
-
"@vkontakte/videoplayer-shared": "1.0.
|
|
56
|
-
"@vkontakte/videoplayer-statistics": "1.0.
|
|
53
|
+
"@vkontakte/videoplayer-core": "^2.0.122",
|
|
54
|
+
"@vkontakte/videoplayer-interactive": "1.0.29-dev.a60090ed.0",
|
|
55
|
+
"@vkontakte/videoplayer-shared": "^1.0.51",
|
|
56
|
+
"@vkontakte/videoplayer-statistics": "^1.0.68"
|
|
57
57
|
}
|
|
58
58
|
}
|
package/types/config.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ export interface IUIConfig {
|
|
|
98
98
|
interactiveHideTime: boolean;
|
|
99
99
|
interactivePlayPrevChapter: boolean;
|
|
100
100
|
interactiveTimeIndicator: boolean;
|
|
101
|
+
interactiveTimeOpenUri: boolean;
|
|
101
102
|
thumbTimer: boolean;
|
|
102
103
|
hotKeyMapModal: boolean;
|
|
103
104
|
hotKeyHelpers: boolean;
|
package/types/store/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IAudioStream, IConfig, IExternalTextTrack, IOptionalTuningConfig, IPlayer, ISources,
|
|
1
|
+
import type { IAudioStream, IConfig, IExternalTextTrack, IOptionalTuningConfig, IPlayer, ISources, IVideoStream, PlaybackRate } from '@vkontakte/videoplayer-core';
|
|
2
2
|
import { ChromecastState, PlaybackState, VideoFormat } from '@vkontakte/videoplayer-core';
|
|
3
3
|
import { type IError, type ILogger, InterfaceLanguage, type IRectangle, type IValueObservable, type QualityLimits, VideoQuality, type InternalsExposure } from '@vkontakte/videoplayer-shared';
|
|
4
4
|
import type { IUIConfig } from '../config';
|
|
@@ -150,7 +150,6 @@ export interface IStore {
|
|
|
150
150
|
currentPlaybackRate$: Readable<number>;
|
|
151
151
|
availablePlaybackRates$: Readable<VideoPlaybackRate[]>;
|
|
152
152
|
currentSubtitle$: Writable<Omit<VideoSubtitle, 'selected'>>;
|
|
153
|
-
availableTextTracks$: Readable<ITextTrack[]>;
|
|
154
153
|
availableSubtitlesList$: Readable<VideoSubtitle[]>;
|
|
155
154
|
currentSubtitleCaptions$: Readable<VideoSubtitleParsed['texts']>;
|
|
156
155
|
isAutoSubtitleCaptionVisible$: Writable<boolean>;
|
|
@@ -205,7 +204,7 @@ export interface IStore {
|
|
|
205
204
|
setPlaybackRate: (playbackRate: PlaybackRate) => void;
|
|
206
205
|
incrementPlaybackRate: () => void;
|
|
207
206
|
decrementPlaybackRate: () => void;
|
|
208
|
-
setSubtitle: (subtitle
|
|
207
|
+
setSubtitle: (subtitle: VideoSubtitle) => void;
|
|
209
208
|
toggleSubtitle: () => void;
|
|
210
209
|
togglePictureInPicture: () => void;
|
|
211
210
|
startScrubbing: (progress: number) => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ITextTrack } from '@vkontakte/videoplayer-core';
|
|
2
|
-
export declare class NativeSubtitles {
|
|
3
|
-
private readonly video;
|
|
4
|
-
constructor(video: HTMLVideoElement);
|
|
5
|
-
private getTracksArray;
|
|
6
|
-
attach(track: ITextTrack, showing?: boolean): void;
|
|
7
|
-
detachAll(): void;
|
|
8
|
-
updateSrc(track: ITextTrack): void;
|
|
9
|
-
getCurrentShowingId(): string | null;
|
|
10
|
-
}
|