@vkontakte/videoplayer 1.1.77-dev.f568af0e.0 → 1.1.77
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 +35 -35
- package/es2015.esm.js +35 -35
- package/es2018.cjs.js +35 -35
- package/es2018.esm.js +35 -35
- package/es2024.cjs.js +38 -38
- package/es2024.esm.js +38 -38
- package/esnext.cjs.js +38 -38
- package/esnext.esm.js +38 -38
- package/evergreen.esm.js +38 -38
- package/package.json +5 -5
- package/types/VKVideoPlayer/index.svelte.d.ts +0 -1
- package/types/components/Menus/constants/subMenuIds.d.ts +1 -1
- package/types/components/Menus/subMenuTabs/types.d.ts +21 -21
- package/types/store/index.d.ts +1 -2
- package/types/types/index.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer",
|
|
3
|
-
"version": "1.1.77
|
|
3
|
+
"version": "1.1.77",
|
|
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.146
|
|
59
|
-
"@vkontakte/videoplayer-interactive": "1.0.52
|
|
60
|
-
"@vkontakte/videoplayer-shared": "1.0.74
|
|
61
|
-
"@vkontakte/videoplayer-statistics": "1.0.92
|
|
58
|
+
"@vkontakte/videoplayer-core": "2.0.146",
|
|
59
|
+
"@vkontakte/videoplayer-interactive": "1.0.52",
|
|
60
|
+
"@vkontakte/videoplayer-shared": "1.0.74",
|
|
61
|
+
"@vkontakte/videoplayer-statistics": "1.0.92"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare enum SubMenuIds {
|
|
2
2
|
QUALITY = "quality-sub",
|
|
3
3
|
QUALITY_DETAIL = "quality-detail-sub",
|
|
4
|
-
|
|
4
|
+
DEFAULT_QUALITY_APPLIENCE = "default_quality_applies_to_sub",
|
|
5
5
|
AUDIO_LANGUAGES = "audio-language-sub",
|
|
6
6
|
PLAYBACK_RATE = "playback-rate-sub",
|
|
7
7
|
SUBTITLES = "subtitles-sub"
|
|
@@ -3,31 +3,31 @@ import type { IAudioStream, PlaybackRate, VideoQuality } from '@vkontakte/videop
|
|
|
3
3
|
import type { QualitySettingsAppliesTo } from '../../../utils/userSettings';
|
|
4
4
|
import type { TmpComponentType } from 'packages/ui/src/types/tmp';
|
|
5
5
|
export declare enum SharedSubMenuItemId {
|
|
6
|
-
QUALITY_OTHER = "
|
|
7
|
-
QUALITY_AUTO = "
|
|
8
|
-
|
|
9
|
-
QUALITY_HIGH = "
|
|
10
|
-
QUALITY_TRAFFIC_SAVING = "
|
|
6
|
+
QUALITY_OTHER = "QUALITY_OTHER",
|
|
7
|
+
QUALITY_AUTO = "QUALITY_AUTO",
|
|
8
|
+
QUALITY_APPLIENCE = "QUALITY_APPLIENCE",
|
|
9
|
+
QUALITY_HIGH = "QUALITY_HIGH",
|
|
10
|
+
QUALITY_TRAFFIC_SAVING = "QUALITY_TRAFFIC_SAVING"
|
|
11
11
|
}
|
|
12
12
|
export declare enum SubMenuId {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
AUDIO_LANGUAGES = "
|
|
18
|
-
SUBTITLES = "
|
|
13
|
+
PLAYBACK_RATE_SUB_MENU = "PLAYBACK_RATE_SUB_MENU",
|
|
14
|
+
QUALITY_DETAILS = "QUALITY_DETAILS",
|
|
15
|
+
QUALITY = "QUALITY",
|
|
16
|
+
QUALITY_APPLIENCE = "QUALITY_APPLIENCE",
|
|
17
|
+
AUDIO_LANGUAGES = "AUDIO_LANGUAGES",
|
|
18
|
+
SUBTITLES = "SUBTITLES"
|
|
19
19
|
}
|
|
20
20
|
export declare enum RootMenuId {
|
|
21
|
-
QUALITY_SETTINGS = "
|
|
22
|
-
TRAFFIC_SAVING_SWITCH = "
|
|
23
|
-
AUDIO_LANGUAGES = "
|
|
24
|
-
PLAYBACK_RATE = "
|
|
25
|
-
SUBTITLES = "
|
|
26
|
-
DOWNLOAD = "
|
|
27
|
-
SHOW_SUPPORT = "
|
|
28
|
-
COPY_DATA = "
|
|
29
|
-
SAVE_TRACE_INFO = "
|
|
30
|
-
DEBUG_INFO = "
|
|
21
|
+
QUALITY_SETTINGS = "QUALITY_SETTINGS",
|
|
22
|
+
TRAFFIC_SAVING_SWITCH = "TRAFFIC_SAVING_SWITCH",
|
|
23
|
+
AUDIO_LANGUAGES = "AUDIO_LANGUAGES",
|
|
24
|
+
PLAYBACK_RATE = "PLAYBACK_RATE",
|
|
25
|
+
SUBTITLES = "SUBTITLES",
|
|
26
|
+
DOWNLOAD = "DOWNLOAD",
|
|
27
|
+
SHOW_SUPPORT = "SHOW_SUPPORT",
|
|
28
|
+
COPY_DATA = "COPY_DATA",
|
|
29
|
+
SAVE_TRACE_INFO = "SAVE_TRACE_INFO",
|
|
30
|
+
DEBUG_INFO = "DEBUG_INFO"
|
|
31
31
|
}
|
|
32
32
|
export type Context = {
|
|
33
33
|
closeSettingsMenu: () => void;
|
package/types/store/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { InteractiveRange } from '@vkontakte/videoplayer-interactive';
|
|
|
7
7
|
import type { Readable, Writable } from 'svelte/store';
|
|
8
8
|
import { AdmanWrapper } from '../components/Ads/admanWrapper';
|
|
9
9
|
import type { Key, LanguageConfig } from '../translation/types';
|
|
10
|
-
import {
|
|
10
|
+
import type { AdditionalButtonDeprecated, ControlBlocksRefs, ControlsKeys, HotKeyMapData, IAnnotationsApi, IControlInfo, IDisabledControls, IInteractiveData, IPictureInPictureApi, IPlayerControlsRef, IPlayerPhase, ITimelinePreviewThumbsData, IVideoEpisode, IVKVideoPlayerCallbacks, IVKVideoPlayerUICallbacks, Position, VideoPlaybackRate, VideoPlayerView, VideoQualityForRender, VideoQualityUI, VideoSubtitle, VideoSubtitleParsed } from '../types';
|
|
11
11
|
import { AdsPlaybackState } from '../types';
|
|
12
12
|
import { type QualitySettingsAppliesTo } from '../utils/userSettings';
|
|
13
13
|
import type { DebugData } from './utils';
|
|
@@ -166,7 +166,6 @@ export interface IStore {
|
|
|
166
166
|
positionWithScrubbing$: Readable<number>;
|
|
167
167
|
duration$: Readable<number>;
|
|
168
168
|
playbackState$: Readable<PlaybackState | undefined>;
|
|
169
|
-
playbackStateRealistic$: Readable<PlaybackStateRealistic | undefined>;
|
|
170
169
|
isPlaying$: Readable<boolean>;
|
|
171
170
|
isLoaderVisible: Readable<boolean>;
|
|
172
171
|
bufferedProgress$: Readable<number>;
|
package/types/types/index.d.ts
CHANGED
|
@@ -623,8 +623,4 @@ export interface Caption {
|
|
|
623
623
|
value: string;
|
|
624
624
|
}
|
|
625
625
|
export type NotificationId = 'slow_video';
|
|
626
|
-
export declare enum PlaybackStateExtended {
|
|
627
|
-
BUFFERING = "buffering"
|
|
628
|
-
}
|
|
629
|
-
export type PlaybackStateRealistic = PlaybackState | PlaybackStateExtended;
|
|
630
626
|
export {};
|