@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/videoplayer",
3
- "version": "1.1.77-dev.f568af0e.0",
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-dev.f568af0e.0",
59
- "@vkontakte/videoplayer-interactive": "1.0.52-dev.f568af0e.0",
60
- "@vkontakte/videoplayer-shared": "1.0.74-dev.f568af0e.0",
61
- "@vkontakte/videoplayer-statistics": "1.0.92-dev.f568af0e.0"
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
  }
@@ -25,7 +25,6 @@ export declare class VKVideoPlayer extends HTMLElement {
25
25
  private _shadowRoot;
26
26
  private playerContainer;
27
27
  private rootContainer;
28
- private stateContainer;
29
28
  private shadowRootContainer;
30
29
  private playerId;
31
30
  private uiConfig;
@@ -1,7 +1,7 @@
1
1
  export declare enum SubMenuIds {
2
2
  QUALITY = "quality-sub",
3
3
  QUALITY_DETAIL = "quality-detail-sub",
4
- DEFAULT_QUALITY_APPLIANCE = "default_quality_applies_to_sub",
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 = "quality-other-settings",
7
- QUALITY_AUTO = "quality-auto",
8
- QUALITY_APPLIANCE = "quality-appliance-settings",
9
- QUALITY_HIGH = "quality-high",
10
- QUALITY_TRAFFIC_SAVING = "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
- PLAYBACK_RATE = "playback-rate",
14
- QUALITY_SETTINGS = "quality-settings",
15
- QUALITY_OTHER_SETTINGS = "quality-other-settings",
16
- QUALITY_APPLIANCE = "quality-appliance",
17
- AUDIO_LANGUAGES = "audio-languages",
18
- SUBTITLES = "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 = "quality-settings",
22
- TRAFFIC_SAVING_SWITCH = "traffic-saving-switch",
23
- AUDIO_LANGUAGES = "audio-languages-settings",
24
- PLAYBACK_RATE = "playback-rate-settings",
25
- SUBTITLES = "subtitles-settings",
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"
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;
@@ -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 { type AdditionalButtonDeprecated, type ControlBlocksRefs, type ControlsKeys, type HotKeyMapData, type IAnnotationsApi, type IControlInfo, type IDisabledControls, type IInteractiveData, type IPictureInPictureApi, type IPlayerControlsRef, type IPlayerPhase, type ITimelinePreviewThumbsData, type IVideoEpisode, type IVKVideoPlayerCallbacks, type IVKVideoPlayerUICallbacks, type PlaybackStateRealistic, type Position, type VideoPlaybackRate, type VideoPlayerView, type VideoQualityForRender, type VideoQualityUI, type VideoSubtitle, type VideoSubtitleParsed } from '../types';
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>;
@@ -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 {};