xgplayer 3.0.25-rc.9 → 3.0.26

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.
Files changed (109) hide show
  1. package/dist/index.min.js +1 -1
  2. package/dist/index.min.js.map +1 -1
  3. package/es/defaultConfig.d.ts +15 -15
  4. package/es/error.d.ts +12 -12
  5. package/es/events.d.ts +3 -3
  6. package/es/icons.d.ts +1 -1
  7. package/es/index.d.ts +19 -19
  8. package/es/index.umd.d.ts +17 -17
  9. package/es/instManager.d.ts +1 -1
  10. package/es/lang/br.d.ts +54 -54
  11. package/es/lang/de.d.ts +54 -54
  12. package/es/lang/en.d.ts +55 -55
  13. package/es/lang/es.d.ts +54 -54
  14. package/es/lang/fr.d.ts +54 -54
  15. package/es/lang/i18n.d.ts +7 -0
  16. package/es/lang/id.d.ts +54 -54
  17. package/es/lang/index.d.ts +1 -1
  18. package/es/lang/it.d.ts +54 -54
  19. package/es/lang/jp.d.ts +55 -55
  20. package/es/lang/kr.d.ts +54 -54
  21. package/es/lang/ms-my.d.ts +54 -54
  22. package/es/lang/ru.d.ts +54 -54
  23. package/es/lang/th.d.ts +54 -54
  24. package/es/lang/vn.d.ts +54 -54
  25. package/es/lang/zh-cn.d.ts +55 -55
  26. package/es/lang/zh-hk.d.ts +55 -55
  27. package/es/lang/zh-hk.js +1 -1
  28. package/es/mediaProxy.d.ts +42 -30
  29. package/es/mediaProxy.js +35 -21
  30. package/es/player.d.ts +51 -52
  31. package/es/player.js +3 -3
  32. package/es/plugin/basePlugin.d.ts +12 -12
  33. package/es/plugin/hooksDescriptor.d.ts +3 -3
  34. package/es/plugin/index.d.ts +12 -12
  35. package/es/plugin/plugin.d.ts +26 -23
  36. package/es/plugin/plugin.js +3 -1
  37. package/es/plugin/pluginsManager.d.ts +9 -71
  38. package/es/plugin/pluginsManager.js +22 -9
  39. package/es/plugin/resizeObserver.d.ts +1 -1
  40. package/es/plugins/common/iconPlugin.d.ts +1 -1
  41. package/es/plugins/common/optionList.d.ts +4 -4
  42. package/es/plugins/common/optionsIcon.d.ts +7 -7
  43. package/es/plugins/common/thumbnail.d.ts +4 -4
  44. package/es/plugins/controls/index.d.ts +8 -8
  45. package/es/plugins/cssFullScreen/index.d.ts +4 -4
  46. package/es/plugins/danmu/danmuIcon.d.ts +1 -1
  47. package/es/plugins/danmu/danmuPanel.d.ts +2 -2
  48. package/es/plugins/danmu/index.d.ts +3 -3
  49. package/es/plugins/definition/index.d.ts +2 -2
  50. package/es/plugins/download/index.d.ts +5 -5
  51. package/es/plugins/download/saveAs.d.ts +6 -6
  52. package/es/plugins/dynamicBg/index.d.ts +14 -15
  53. package/es/plugins/enter/index.d.ts +3 -3
  54. package/es/plugins/error/index.d.ts +3 -3
  55. package/es/plugins/fpsDetect/index.d.ts +5 -5
  56. package/es/plugins/fullscreen/backicon.d.ts +2 -2
  57. package/es/plugins/fullscreen/index.d.ts +4 -4
  58. package/es/plugins/gapJump/index.d.ts +6 -6
  59. package/es/plugins/heatmap/index.d.ts +3 -4
  60. package/es/plugins/keyboard/index.d.ts +5 -5
  61. package/es/plugins/keyboard/index.js +1 -1
  62. package/es/plugins/loading/index.d.ts +1 -1
  63. package/es/plugins/logger/index.d.ts +22 -22
  64. package/es/plugins/miniScreen/index.d.ts +8 -8
  65. package/es/plugins/miniScreen/miniScreenIcon.d.ts +1 -1
  66. package/es/plugins/mobile/index.d.ts +8 -8
  67. package/es/plugins/netAdaption/index.d.ts +2 -2
  68. package/es/plugins/pc/index.d.ts +2 -2
  69. package/es/plugins/pc/index.js +1 -1
  70. package/es/plugins/pip/index.d.ts +12 -12
  71. package/es/plugins/play/index.d.ts +2 -2
  72. package/es/plugins/playNext/index.d.ts +5 -5
  73. package/es/plugins/playbackRate/index.d.ts +5 -5
  74. package/es/plugins/poster/index.d.ts +3 -3
  75. package/es/plugins/progress/index.d.ts +15 -15
  76. package/es/plugins/progress/innerList.d.ts +6 -6
  77. package/es/plugins/progress/innerList.js +1 -1
  78. package/es/plugins/progress/miniProgress.d.ts +4 -4
  79. package/es/plugins/progressPreview/dotsApi.js +1 -1
  80. package/es/plugins/progressPreview/index.d.ts +17 -17
  81. package/es/plugins/prompt/index.d.ts +3 -3
  82. package/es/plugins/replay/index.d.ts +2 -2
  83. package/es/plugins/rotate/index.d.ts +5 -5
  84. package/es/plugins/screenShot/index.d.ts +6 -6
  85. package/es/plugins/start/index.d.ts +5 -5
  86. package/es/plugins/stats/index.d.ts +7 -7
  87. package/es/plugins/stats/index.js +1 -1
  88. package/es/plugins/testspeed/index.d.ts +6 -6
  89. package/es/plugins/time/index.d.ts +8 -9
  90. package/es/plugins/time/timesegments.d.ts +3 -3
  91. package/es/plugins/time/timesegments.js +1 -1
  92. package/es/plugins/track/index.d.ts +14 -15
  93. package/es/plugins/track/nativeSubTitle.d.ts +2 -1
  94. package/es/plugins/volume/index.d.ts +9 -9
  95. package/es/plugins/waitingTimeoutJump/index.d.ts +4 -4
  96. package/es/presets/default-en.d.ts +27 -27
  97. package/es/presets/default.d.ts +28 -28
  98. package/es/presets/live.d.ts +14 -14
  99. package/es/presets/mobile.d.ts +23 -23
  100. package/es/state.d.ts +8 -8
  101. package/es/stateClassMap.d.ts +29 -29
  102. package/es/utils/database.d.ts +11 -4
  103. package/es/utils/debug.d.ts +1 -1
  104. package/es/utils/draggabilly.d.ts +3 -2
  105. package/es/utils/sniffer.d.ts +2 -2
  106. package/es/utils/util.d.ts +61 -59
  107. package/es/utils/util.js +2 -0
  108. package/es/version.js +1 -1
  109. package/package.json +3 -3
@@ -104,13 +104,12 @@
104
104
  * @returns { IPlayerOptions }
105
105
  */
106
106
  export default function getDefaultConfig(): IPlayerOptions;
107
- export type IUrl = string | MediaStream | {
108
- [propName: string]: any;
107
+ export type IUrl = string | MediaStream | Array<{
109
108
  src: string;
110
109
  type?: string;
111
- }[];
112
- export type IDefinition = {
113
110
  [propName: string]: any;
111
+ }>;
112
+ export type IDefinition = {
114
113
  url: IUrl;
115
114
  definition: any;
116
115
  bitrate?: number;
@@ -121,22 +120,22 @@ export type IDefinition = {
121
120
  iconText?: string | {
122
121
  [propName: string]: any;
123
122
  };
123
+ [propName: string]: any;
124
124
  };
125
125
  export type IPlayerOptions = {
126
- [propName: string]: any;
127
126
  id?: string;
128
127
  el?: HTMLElement;
129
128
  mediaEl?: HTMLMediaElement | ((mediaConfig: {
130
129
  [propName: string]: any;
131
130
  }) => HTMLMediaElement);
132
131
  url?: IUrl;
133
- domEventType?: 'default' | 'touch' | 'mouse';
132
+ domEventType?: "default" | "touch" | "mouse";
134
133
  nullUrlStart?: boolean;
135
134
  width?: number | string;
136
135
  height?: number | string;
137
136
  fluid?: boolean;
138
- fitVideoSize?: 'fixWidth' | 'fixHeight' | 'fixed';
139
- videoFillMode?: 'auto' | 'fillHeight' | 'fillWidth' | 'fill' | 'cover' | 'contain';
137
+ fitVideoSize?: "fixWidth" | "fixHeight" | "fixed";
138
+ videoFillMode?: "auto" | "fillHeight" | "fillWidth" | "fill" | "cover" | "contain";
140
139
  volume?: number | {
141
140
  [propName: string]: any;
142
141
  };
@@ -149,7 +148,7 @@ export type IPlayerOptions = {
149
148
  poster?: string | {
150
149
  [propName: string]: any;
151
150
  };
152
- isMobileSimulateMode?: 'mobile' | 'pc';
151
+ isMobileSimulateMode?: "mobile" | "pc";
153
152
  defaultPlaybackRate?: number;
154
153
  execBeforePluginsCall?: () => any;
155
154
  allowSeekAfterEnded?: boolean;
@@ -168,17 +167,17 @@ export type IPlayerOptions = {
168
167
  [propName: string]: any;
169
168
  };
170
169
  startTime?: number;
171
- seekedStatus?: 'play' | 'pause' | 'auto';
170
+ seekedStatus?: "play" | "pause" | "auto";
172
171
  miniprogress?: boolean;
173
172
  disableSwipeHandler?: () => any;
174
173
  enableSwipeHandler?: () => any;
175
174
  preProcessUrl?: (url: IUrl, ext?: {
176
175
  [propName: string]: any;
177
176
  }) => {
178
- [propName: string]: any;
179
177
  url: IUrl;
178
+ [propName: string]: any;
180
179
  };
181
- ignores?: Array<'cssfullscreen' | 'screenshot' | 'pip' | 'miniscreen' | 'keyboard' | 'download' | 'playbackrate' | 'time' | 'definition' | 'error' | 'fullscreen' | 'loading' | 'mobile' | 'pc' | 'play' | 'poster' | 'progress' | 'replay' | 'start' | 'volume' | string>;
180
+ ignores?: Array<"cssfullscreen" | "screenshot" | "pip" | "miniscreen" | "keyboard" | "download" | "playbackrate" | "time" | "definition" | "error" | "fullscreen" | "loading" | "mobile" | "pc" | "play" | "poster" | "progress" | "replay" | "start" | "volume" | string>;
182
181
  inactive?: number;
183
182
  lang?: string;
184
183
  controls?: boolean | {
@@ -207,13 +206,13 @@ export type IPlayerOptions = {
207
206
  keyShortcut?: boolean;
208
207
  presets?: any[];
209
208
  plugins?: any[];
210
- playbackRate?: boolean | number[] | {
209
+ playbackRate?: boolean | Array<number> | {
211
210
  [propName: string]: any;
212
211
  };
213
212
  definition?: {
214
- [propName: string]: any;
215
213
  list: Array<IDefinition>;
216
- defaultDefinition?: IDefinition['definition'];
214
+ defaultDefinition?: IDefinition["definition"];
215
+ [propName: string]: any;
217
216
  };
218
217
  playsinline?: boolean;
219
218
  customDuration?: number;
@@ -246,4 +245,5 @@ export type IPlayerOptions = {
246
245
  volumeColor?: string;
247
246
  };
248
247
  remainMediaAfterDestroy?: boolean;
248
+ [propName: string]: any;
249
249
  };
package/es/error.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- export type Player = import('./player').default;
1
+ export type Player = import("./player").default;
2
2
  export type IError = {
3
- [propName: string]: any;
4
3
  playerVersion: string;
5
4
  currentTime: number;
6
5
  duration: number;
@@ -18,6 +17,7 @@ export type IError = {
18
17
  originError?: any;
19
18
  url?: any;
20
19
  host?: string;
20
+ [propName: string]: any;
21
21
  };
22
22
  /**
23
23
  * @typedef { {
@@ -69,42 +69,42 @@ declare class Errors {
69
69
  }
70
70
  export namespace ErrorTypes {
71
71
  namespace network {
72
- const code: number;
72
+ let code: number;
73
73
  }
74
74
  namespace mse {
75
- const code_1: number;
75
+ let code_1: number;
76
76
  export { code_1 as code };
77
77
  }
78
78
  namespace parse {
79
- const code_2: number;
79
+ let code_2: number;
80
80
  export { code_2 as code };
81
81
  }
82
82
  namespace format {
83
- const code_3: number;
83
+ let code_3: number;
84
84
  export { code_3 as code };
85
85
  }
86
86
  namespace decoder {
87
- const code_4: number;
87
+ let code_4: number;
88
88
  export { code_4 as code };
89
89
  }
90
90
  namespace runtime {
91
- const code_5: number;
91
+ let code_5: number;
92
92
  export { code_5 as code };
93
93
  }
94
94
  namespace timeout {
95
- const code_6: number;
95
+ let code_6: number;
96
96
  export { code_6 as code };
97
97
  }
98
98
  namespace drm {
99
- const code_7: number;
99
+ let code_7: number;
100
100
  export { code_7 as code };
101
101
  }
102
102
  namespace ad {
103
- const code_8: number;
103
+ let code_8: number;
104
104
  export { code_8 as code };
105
105
  }
106
106
  namespace other {
107
- const code_9: number;
107
+ let code_9: number;
108
108
  export { code_9 as code };
109
109
  }
110
110
  }
package/es/events.d.ts CHANGED
@@ -57,8 +57,8 @@ export const SOURCE_SUCCESS: "source_success";
57
57
  export const SWITCH_SUBTITLE: "switch_subtitle";
58
58
  export const VIDEO_EVENTS: string[];
59
59
  export namespace STATS_EVENTS {
60
- const STATS_INFO: string;
61
- const STATS_DOWNLOAD: string;
62
- const STATS_RESET: string;
60
+ let STATS_INFO: string;
61
+ let STATS_DOWNLOAD: string;
62
+ let STATS_RESET: string;
63
63
  }
64
64
  export const FPS_STUCK: "fps_stuck";
package/es/icons.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare var _default: {};
1
+ declare const _default: {};
2
2
  export default _default;
package/es/index.d.ts CHANGED
@@ -24,25 +24,25 @@ export { default as FullscreenIcon } from "./plugins/fullscreen";
24
24
  export { default as CssFullscreenIcon } from "./plugins/cssFullScreen";
25
25
  export { default as TextTrack } from "./plugins/track";
26
26
  export { default as HeatMap } from "./plugins/heatmap";
27
- export type SwitchUrlOptions = import('./player').SwitchUrlOptions;
28
- export type IPlayerOptions = import('./defaultConfig').IPlayerOptions;
29
- export type IDefinition = import('./defaultConfig').IDefinition;
27
+ export type SwitchUrlOptions = import("./player").SwitchUrlOptions;
28
+ export type IPlayerOptions = import("./defaultConfig").IPlayerOptions;
29
+ export type IDefinition = import("./defaultConfig").IDefinition;
30
30
  export type IVideoProxy = any;
31
- export type IBasePluginOptions = import('./plugin/basePlugin').IBasePluginOptions;
32
- export type IPluginOptions = import('./plugin/plugin').IPluginOptions;
33
- export type IError = import('./error').IError;
34
- export type IXGI18nText = import('./lang/i18n').IXGI18nText;
35
- import PresetPlayer from "./index.umd";
36
- import Player from "./player";
37
- import BasePlugin from "./plugin/basePlugin";
38
- import Plugin from "./plugin/plugin";
39
- import * as Events from "./events";
40
- import Errors from "./error";
41
- import Sniffer from "./utils/sniffer";
42
- import Util from "./utils/util";
43
- import STATE_CLASS from "./stateClassMap";
44
- import I18N from "./lang/i18n";
45
- import { STATES } from "./state";
46
- import { InstManager } from "./instManager";
31
+ export type IBasePluginOptions = import("./plugin/basePlugin").IBasePluginOptions;
32
+ export type IPluginOptions = import("./plugin/plugin").IPluginOptions;
33
+ export type IError = import("./error").IError;
34
+ export type IXGI18nText = import("./lang/i18n").IXGI18nText;
35
+ import PresetPlayer from './index.umd';
36
+ import Player from './player';
37
+ import BasePlugin from './plugin/basePlugin';
38
+ import Plugin from './plugin/plugin';
39
+ import * as Events from './events';
40
+ import Errors from './error';
41
+ import Sniffer from './utils/sniffer';
42
+ import Util from './utils/util';
43
+ import STATE_CLASS from './stateClassMap';
44
+ import I18N from './lang/i18n';
45
+ import { STATES } from './state';
46
+ import { InstManager } from './instManager';
47
47
  export { PresetPlayer as default, Player as SimplePlayer, BasePlugin, Plugin, Events, Errors, Sniffer, Util, STATE_CLASS, I18N, STATES, InstManager };
48
48
  export { default as Danmu, DanmuIcon, DanmuPanel } from "./plugins/danmu";
package/es/index.umd.d.ts CHANGED
@@ -8,8 +8,8 @@ declare class PresetPlayer extends Player {
8
8
  static Plugin: typeof Plugin;
9
9
  static BasePlugin: typeof BasePlugin;
10
10
  static I18N: {
11
- readonly textKeys: any[];
12
- readonly langKeys: string[];
11
+ readonly textKeys: never[];
12
+ readonly langKeys: Array<string>;
13
13
  readonly lang: {
14
14
  [propName: string]: {
15
15
  [propName: string]: string;
@@ -17,7 +17,7 @@ declare class PresetPlayer extends Player {
17
17
  };
18
18
  extend: (I18nText: import("./lang/i18n").IXGI18nText) => {};
19
19
  use: (lang: import("./lang/i18n").IXGI18nText) => {};
20
- init: (id: any) => import("./lang/i18n").IXGI18n;
20
+ init: (id: any) => IXGI18n;
21
21
  };
22
22
  static STATE_CLASS: {
23
23
  DEFAULT: string;
@@ -58,17 +58,17 @@ declare class PresetPlayer extends Player {
58
58
  static CssFullscreenIcon: typeof CssFullscreenIcon;
59
59
  static VolumeIcon: typeof VolumeIcon;
60
60
  }
61
- import Player from "./player";
62
- import defaultPreset from "./presets/default";
63
- import Util from "./utils/util";
64
- import Errors from "./error";
65
- import * as Events from "./events";
66
- import Plugin from "./plugin/plugin";
67
- import BasePlugin from "./plugin/basePlugin";
68
- import { InstManager } from "./instManager";
69
- import { default as PlayIcon } from "./plugins/play";
70
- import { default as TimeIcon } from "./plugins/time";
71
- import { default as Progress } from "./plugins/progress";
72
- import { default as FullscreenIcon } from "./plugins/fullscreen";
73
- import { default as CssFullscreenIcon } from "./plugins/cssFullScreen";
74
- import { default as VolumeIcon } from "./plugins/volume";
61
+ import Player from './player';
62
+ import defaultPreset from './presets/default';
63
+ import Util from './utils/util';
64
+ import Errors from './error';
65
+ import * as Events from './events';
66
+ import Plugin from './plugin/plugin';
67
+ import BasePlugin from './plugin/basePlugin';
68
+ import { InstManager } from './instManager';
69
+ import { default as PlayIcon } from './plugins/play';
70
+ import { default as TimeIcon } from './plugins/time';
71
+ import { default as Progress } from './plugins/progress';
72
+ import { default as FullscreenIcon } from './plugins/fullscreen';
73
+ import { default as CssFullscreenIcon } from './plugins/cssFullScreen';
74
+ import { default as VolumeIcon } from './plugins/volume';
@@ -54,5 +54,5 @@ export class InstManager extends InstManager_base {
54
54
  setNext(playerId: number | string, isNext?: boolean): number | null;
55
55
  }
56
56
  export type IterateFunction = (Player: any) => boolean | null;
57
- export type Player = import('./player').default;
57
+ export type Player = import("./player").default;
58
58
  export {};
package/es/lang/br.d.ts CHANGED
@@ -1,91 +1,91 @@
1
1
  declare namespace _default {
2
- const LANG: string;
2
+ let LANG: string;
3
3
  namespace TEXT {
4
4
  namespace ERROR_TYPES {
5
5
  namespace network {
6
- const code: number;
7
- const msg: string;
6
+ let code: number;
7
+ let msg: string;
8
8
  }
9
9
  namespace mse {
10
- const code_1: number;
10
+ let code_1: number;
11
11
  export { code_1 as code };
12
- const msg_1: string;
12
+ let msg_1: string;
13
13
  export { msg_1 as msg };
14
14
  }
15
15
  namespace parse {
16
- const code_2: number;
16
+ let code_2: number;
17
17
  export { code_2 as code };
18
- const msg_2: string;
18
+ let msg_2: string;
19
19
  export { msg_2 as msg };
20
20
  }
21
21
  namespace format {
22
- const code_3: number;
22
+ let code_3: number;
23
23
  export { code_3 as code };
24
- const msg_3: string;
24
+ let msg_3: string;
25
25
  export { msg_3 as msg };
26
26
  }
27
27
  namespace decoder {
28
- const code_4: number;
28
+ let code_4: number;
29
29
  export { code_4 as code };
30
- const msg_4: string;
30
+ let msg_4: string;
31
31
  export { msg_4 as msg };
32
32
  }
33
33
  namespace runtime {
34
- const code_5: number;
34
+ let code_5: number;
35
35
  export { code_5 as code };
36
- const msg_5: string;
36
+ let msg_5: string;
37
37
  export { msg_5 as msg };
38
38
  }
39
39
  namespace timeout {
40
- const code_6: number;
40
+ let code_6: number;
41
41
  export { code_6 as code };
42
- const msg_6: string;
42
+ let msg_6: string;
43
43
  export { msg_6 as msg };
44
44
  }
45
45
  namespace other {
46
- const code_7: number;
46
+ let code_7: number;
47
47
  export { code_7 as code };
48
- const msg_7: string;
48
+ let msg_7: string;
49
49
  export { msg_7 as msg };
50
50
  }
51
51
  }
52
- const HAVE_NOTHING: string;
53
- const HAVE_METADATA: string;
54
- const HAVE_CURRENT_DATA: string;
55
- const HAVE_FUTURE_DATA: string;
56
- const HAVE_ENOUGH_DATA: string;
57
- const NETWORK_EMPTY: string;
58
- const NETWORK_IDLE: string;
59
- const NETWORK_LOADING: string;
60
- const NETWORK_NO_SOURCE: string;
61
- const MEDIA_ERR_ABORTED: string;
62
- const MEDIA_ERR_NETWORK: string;
63
- const MEDIA_ERR_DECODE: string;
64
- const MEDIA_ERR_SRC_NOT_SUPPORTED: string;
65
- const REPLAY: string;
66
- const ERROR: string;
67
- const PLAY_TIPS: string;
68
- const PAUSE_TIPS: string;
69
- const PLAYNEXT_TIPS: string;
70
- const DOWNLOAD_TIPS: string;
71
- const ROTATE_TIPS: string;
72
- const RELOAD_TIPS: string;
73
- const FULLSCREEN_TIPS: string;
74
- const EXITFULLSCREEN_TIPS: string;
75
- const CSSFULLSCREEN_TIPS: string;
76
- const EXITCSSFULLSCREEN_TIPS: string;
77
- const TEXTTRACK: string;
78
- const PIP: string;
79
- const SCREENSHOT: string;
80
- const LIVE: string;
81
- const OFF: string;
82
- const OPEN: string;
83
- const MINI_DRAG: string;
84
- const MINISCREEN: string;
85
- const REFRESH_TIPS: string;
86
- const REFRESH: string;
87
- const FORWARD: string;
88
- const LIVE_TIP: string;
52
+ let HAVE_NOTHING: string;
53
+ let HAVE_METADATA: string;
54
+ let HAVE_CURRENT_DATA: string;
55
+ let HAVE_FUTURE_DATA: string;
56
+ let HAVE_ENOUGH_DATA: string;
57
+ let NETWORK_EMPTY: string;
58
+ let NETWORK_IDLE: string;
59
+ let NETWORK_LOADING: string;
60
+ let NETWORK_NO_SOURCE: string;
61
+ let MEDIA_ERR_ABORTED: string;
62
+ let MEDIA_ERR_NETWORK: string;
63
+ let MEDIA_ERR_DECODE: string;
64
+ let MEDIA_ERR_SRC_NOT_SUPPORTED: string;
65
+ let REPLAY: string;
66
+ let ERROR: string;
67
+ let PLAY_TIPS: string;
68
+ let PAUSE_TIPS: string;
69
+ let PLAYNEXT_TIPS: string;
70
+ let DOWNLOAD_TIPS: string;
71
+ let ROTATE_TIPS: string;
72
+ let RELOAD_TIPS: string;
73
+ let FULLSCREEN_TIPS: string;
74
+ let EXITFULLSCREEN_TIPS: string;
75
+ let CSSFULLSCREEN_TIPS: string;
76
+ let EXITCSSFULLSCREEN_TIPS: string;
77
+ let TEXTTRACK: string;
78
+ let PIP: string;
79
+ let SCREENSHOT: string;
80
+ let LIVE: string;
81
+ let OFF: string;
82
+ let OPEN: string;
83
+ let MINI_DRAG: string;
84
+ let MINISCREEN: string;
85
+ let REFRESH_TIPS: string;
86
+ let REFRESH: string;
87
+ let FORWARD: string;
88
+ let LIVE_TIP: string;
89
89
  }
90
90
  }
91
91
  export default _default;
package/es/lang/de.d.ts CHANGED
@@ -1,91 +1,91 @@
1
1
  declare namespace _default {
2
- const LANG: string;
2
+ let LANG: string;
3
3
  namespace TEXT {
4
4
  namespace ERROR_TYPES {
5
5
  namespace network {
6
- const code: number;
7
- const msg: string;
6
+ let code: number;
7
+ let msg: string;
8
8
  }
9
9
  namespace mse {
10
- const code_1: number;
10
+ let code_1: number;
11
11
  export { code_1 as code };
12
- const msg_1: string;
12
+ let msg_1: string;
13
13
  export { msg_1 as msg };
14
14
  }
15
15
  namespace parse {
16
- const code_2: number;
16
+ let code_2: number;
17
17
  export { code_2 as code };
18
- const msg_2: string;
18
+ let msg_2: string;
19
19
  export { msg_2 as msg };
20
20
  }
21
21
  namespace format {
22
- const code_3: number;
22
+ let code_3: number;
23
23
  export { code_3 as code };
24
- const msg_3: string;
24
+ let msg_3: string;
25
25
  export { msg_3 as msg };
26
26
  }
27
27
  namespace decoder {
28
- const code_4: number;
28
+ let code_4: number;
29
29
  export { code_4 as code };
30
- const msg_4: string;
30
+ let msg_4: string;
31
31
  export { msg_4 as msg };
32
32
  }
33
33
  namespace runtime {
34
- const code_5: number;
34
+ let code_5: number;
35
35
  export { code_5 as code };
36
- const msg_5: string;
36
+ let msg_5: string;
37
37
  export { msg_5 as msg };
38
38
  }
39
39
  namespace timeout {
40
- const code_6: number;
40
+ let code_6: number;
41
41
  export { code_6 as code };
42
- const msg_6: string;
42
+ let msg_6: string;
43
43
  export { msg_6 as msg };
44
44
  }
45
45
  namespace other {
46
- const code_7: number;
46
+ let code_7: number;
47
47
  export { code_7 as code };
48
- const msg_7: string;
48
+ let msg_7: string;
49
49
  export { msg_7 as msg };
50
50
  }
51
51
  }
52
- const HAVE_NOTHING: string;
53
- const HAVE_METADATA: string;
54
- const HAVE_CURRENT_DATA: string;
55
- const HAVE_FUTURE_DATA: string;
56
- const HAVE_ENOUGH_DATA: string;
57
- const NETWORK_EMPTY: string;
58
- const NETWORK_IDLE: string;
59
- const NETWORK_LOADING: string;
60
- const NETWORK_NO_SOURCE: string;
61
- const MEDIA_ERR_ABORTED: string;
62
- const MEDIA_ERR_NETWORK: string;
63
- const MEDIA_ERR_DECODE: string;
64
- const MEDIA_ERR_SRC_NOT_SUPPORTED: string;
65
- const REPLAY: string;
66
- const ERROR: string;
67
- const PLAY_TIPS: string;
68
- const PAUSE_TIPS: string;
69
- const PLAYNEXT_TIPS: string;
70
- const DOWNLOAD_TIPS: string;
71
- const ROTATE_TIPS: string;
72
- const RELOAD_TIPS: string;
73
- const FULLSCREEN_TIPS: string;
74
- const EXITFULLSCREEN_TIPS: string;
75
- const CSSFULLSCREEN_TIPS: string;
76
- const EXITCSSFULLSCREEN_TIPS: string;
77
- const TEXTTRACK: string;
78
- const PIP: string;
79
- const SCREENSHOT: string;
80
- const LIVE: string;
81
- const OFF: string;
82
- const OPEN: string;
83
- const MINI_DRAG: string;
84
- const MINISCREEN: string;
85
- const REFRESH_TIPS: string;
86
- const REFRESH: string;
87
- const FORWARD: string;
88
- const LIVE_TIP: string;
52
+ let HAVE_NOTHING: string;
53
+ let HAVE_METADATA: string;
54
+ let HAVE_CURRENT_DATA: string;
55
+ let HAVE_FUTURE_DATA: string;
56
+ let HAVE_ENOUGH_DATA: string;
57
+ let NETWORK_EMPTY: string;
58
+ let NETWORK_IDLE: string;
59
+ let NETWORK_LOADING: string;
60
+ let NETWORK_NO_SOURCE: string;
61
+ let MEDIA_ERR_ABORTED: string;
62
+ let MEDIA_ERR_NETWORK: string;
63
+ let MEDIA_ERR_DECODE: string;
64
+ let MEDIA_ERR_SRC_NOT_SUPPORTED: string;
65
+ let REPLAY: string;
66
+ let ERROR: string;
67
+ let PLAY_TIPS: string;
68
+ let PAUSE_TIPS: string;
69
+ let PLAYNEXT_TIPS: string;
70
+ let DOWNLOAD_TIPS: string;
71
+ let ROTATE_TIPS: string;
72
+ let RELOAD_TIPS: string;
73
+ let FULLSCREEN_TIPS: string;
74
+ let EXITFULLSCREEN_TIPS: string;
75
+ let CSSFULLSCREEN_TIPS: string;
76
+ let EXITCSSFULLSCREEN_TIPS: string;
77
+ let TEXTTRACK: string;
78
+ let PIP: string;
79
+ let SCREENSHOT: string;
80
+ let LIVE: string;
81
+ let OFF: string;
82
+ let OPEN: string;
83
+ let MINI_DRAG: string;
84
+ let MINISCREEN: string;
85
+ let REFRESH_TIPS: string;
86
+ let REFRESH: string;
87
+ let FORWARD: string;
88
+ let LIVE_TIP: string;
89
89
  }
90
90
  }
91
91
  export default _default;