xgplayer 3.0.25-rc.8 → 3.0.25
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/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/defaultConfig.d.ts +15 -15
- package/es/error.d.ts +12 -12
- package/es/events.d.ts +3 -3
- package/es/icons.d.ts +1 -1
- package/es/index.d.ts +19 -19
- package/es/index.umd.d.ts +17 -17
- package/es/instManager.d.ts +1 -1
- package/es/lang/br.d.ts +54 -54
- package/es/lang/de.d.ts +54 -54
- package/es/lang/en.d.ts +55 -55
- package/es/lang/es.d.ts +54 -54
- package/es/lang/fr.d.ts +54 -54
- package/es/lang/i18n.d.ts +7 -0
- package/es/lang/id.d.ts +54 -54
- package/es/lang/index.d.ts +1 -1
- package/es/lang/it.d.ts +54 -54
- package/es/lang/jp.d.ts +55 -55
- package/es/lang/kr.d.ts +54 -54
- package/es/lang/ms-my.d.ts +54 -54
- package/es/lang/ru.d.ts +54 -54
- package/es/lang/th.d.ts +54 -54
- package/es/lang/vn.d.ts +54 -54
- package/es/lang/zh-cn.d.ts +55 -55
- package/es/lang/zh-hk.d.ts +55 -55
- package/es/lang/zh-hk.js +1 -1
- package/es/mediaProxy.d.ts +42 -30
- package/es/mediaProxy.js +35 -21
- package/es/player.d.ts +51 -52
- package/es/player.js +3 -3
- package/es/plugin/basePlugin.d.ts +12 -12
- package/es/plugin/hooksDescriptor.d.ts +3 -3
- package/es/plugin/index.d.ts +12 -12
- package/es/plugin/plugin.d.ts +26 -23
- package/es/plugin/plugin.js +3 -1
- package/es/plugin/pluginsManager.d.ts +9 -71
- package/es/plugin/pluginsManager.js +22 -9
- package/es/plugin/resizeObserver.d.ts +1 -1
- package/es/plugins/common/iconPlugin.d.ts +1 -1
- package/es/plugins/common/optionList.d.ts +4 -4
- package/es/plugins/common/optionsIcon.d.ts +7 -7
- package/es/plugins/common/thumbnail.d.ts +4 -4
- package/es/plugins/controls/index.d.ts +8 -8
- package/es/plugins/cssFullScreen/index.d.ts +4 -4
- package/es/plugins/danmu/danmuIcon.d.ts +1 -1
- package/es/plugins/danmu/danmuPanel.d.ts +2 -2
- package/es/plugins/danmu/index.d.ts +3 -3
- package/es/plugins/definition/index.d.ts +2 -2
- package/es/plugins/download/index.d.ts +5 -5
- package/es/plugins/download/saveAs.d.ts +6 -6
- package/es/plugins/dynamicBg/index.d.ts +14 -15
- package/es/plugins/enter/index.d.ts +3 -3
- package/es/plugins/error/index.d.ts +3 -3
- package/es/plugins/fpsDetect/index.d.ts +5 -5
- package/es/plugins/fullscreen/backicon.d.ts +2 -2
- package/es/plugins/fullscreen/index.d.ts +4 -4
- package/es/plugins/gapJump/index.d.ts +6 -6
- package/es/plugins/heatmap/index.d.ts +3 -4
- package/es/plugins/keyboard/index.d.ts +5 -5
- package/es/plugins/keyboard/index.js +1 -1
- package/es/plugins/loading/index.d.ts +1 -1
- package/es/plugins/logger/index.d.ts +22 -22
- package/es/plugins/miniScreen/index.d.ts +8 -8
- package/es/plugins/miniScreen/miniScreenIcon.d.ts +1 -1
- package/es/plugins/mobile/index.d.ts +8 -8
- package/es/plugins/netAdaption/index.d.ts +2 -2
- package/es/plugins/pc/index.d.ts +2 -2
- package/es/plugins/pc/index.js +1 -1
- package/es/plugins/pip/index.d.ts +12 -12
- package/es/plugins/play/index.d.ts +2 -2
- package/es/plugins/playNext/index.d.ts +5 -5
- package/es/plugins/playbackRate/index.d.ts +5 -5
- package/es/plugins/poster/index.d.ts +3 -3
- package/es/plugins/progress/index.d.ts +15 -15
- package/es/plugins/progress/innerList.d.ts +6 -6
- package/es/plugins/progress/innerList.js +1 -1
- package/es/plugins/progress/miniProgress.d.ts +4 -4
- package/es/plugins/progressPreview/dotsApi.js +1 -1
- package/es/plugins/progressPreview/index.d.ts +17 -17
- package/es/plugins/prompt/index.d.ts +3 -3
- package/es/plugins/replay/index.d.ts +2 -2
- package/es/plugins/rotate/index.d.ts +5 -5
- package/es/plugins/screenShot/index.d.ts +6 -6
- package/es/plugins/start/index.d.ts +5 -5
- package/es/plugins/stats/index.d.ts +7 -7
- package/es/plugins/stats/index.js +1 -1
- package/es/plugins/testspeed/index.d.ts +6 -6
- package/es/plugins/time/index.d.ts +8 -9
- package/es/plugins/time/timesegments.d.ts +3 -3
- package/es/plugins/time/timesegments.js +1 -1
- package/es/plugins/track/index.d.ts +14 -15
- package/es/plugins/track/nativeSubTitle.d.ts +2 -1
- package/es/plugins/volume/index.d.ts +9 -9
- package/es/plugins/waitingTimeoutJump/index.d.ts +4 -4
- package/es/presets/default-en.d.ts +27 -27
- package/es/presets/default.d.ts +28 -28
- package/es/presets/live.d.ts +14 -14
- package/es/presets/mobile.d.ts +23 -23
- package/es/state.d.ts +8 -8
- package/es/stateClassMap.d.ts +29 -29
- package/es/utils/database.d.ts +11 -4
- package/es/utils/debug.d.ts +1 -1
- package/es/utils/draggabilly.d.ts +3 -2
- package/es/utils/sniffer.d.ts +2 -2
- package/es/utils/util.d.ts +61 -59
- package/es/utils/util.js +2 -0
- package/es/version.js +1 -1
- package/package.json +3 -3
package/es/defaultConfig.d.ts
CHANGED
|
@@ -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?:
|
|
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?:
|
|
139
|
-
videoFillMode?:
|
|
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?:
|
|
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?:
|
|
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<
|
|
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[
|
|
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(
|
|
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
|
-
|
|
72
|
+
let code: number;
|
|
73
73
|
}
|
|
74
74
|
namespace mse {
|
|
75
|
-
|
|
75
|
+
let code_1: number;
|
|
76
76
|
export { code_1 as code };
|
|
77
77
|
}
|
|
78
78
|
namespace parse {
|
|
79
|
-
|
|
79
|
+
let code_2: number;
|
|
80
80
|
export { code_2 as code };
|
|
81
81
|
}
|
|
82
82
|
namespace format {
|
|
83
|
-
|
|
83
|
+
let code_3: number;
|
|
84
84
|
export { code_3 as code };
|
|
85
85
|
}
|
|
86
86
|
namespace decoder {
|
|
87
|
-
|
|
87
|
+
let code_4: number;
|
|
88
88
|
export { code_4 as code };
|
|
89
89
|
}
|
|
90
90
|
namespace runtime {
|
|
91
|
-
|
|
91
|
+
let code_5: number;
|
|
92
92
|
export { code_5 as code };
|
|
93
93
|
}
|
|
94
94
|
namespace timeout {
|
|
95
|
-
|
|
95
|
+
let code_6: number;
|
|
96
96
|
export { code_6 as code };
|
|
97
97
|
}
|
|
98
98
|
namespace drm {
|
|
99
|
-
|
|
99
|
+
let code_7: number;
|
|
100
100
|
export { code_7 as code };
|
|
101
101
|
}
|
|
102
102
|
namespace ad {
|
|
103
|
-
|
|
103
|
+
let code_8: number;
|
|
104
104
|
export { code_8 as code };
|
|
105
105
|
}
|
|
106
106
|
namespace other {
|
|
107
|
-
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
|
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(
|
|
28
|
-
export type IPlayerOptions = import(
|
|
29
|
-
export type IDefinition = import(
|
|
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(
|
|
32
|
-
export type IPluginOptions = import(
|
|
33
|
-
export type IError = import(
|
|
34
|
-
export type IXGI18nText = import(
|
|
35
|
-
import PresetPlayer from
|
|
36
|
-
import Player from
|
|
37
|
-
import BasePlugin from
|
|
38
|
-
import Plugin from
|
|
39
|
-
import * as Events from
|
|
40
|
-
import Errors from
|
|
41
|
-
import Sniffer from
|
|
42
|
-
import Util from
|
|
43
|
-
import STATE_CLASS from
|
|
44
|
-
import I18N from
|
|
45
|
-
import { STATES } from
|
|
46
|
-
import { InstManager } from
|
|
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:
|
|
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) =>
|
|
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
|
|
62
|
-
import defaultPreset from
|
|
63
|
-
import Util from
|
|
64
|
-
import Errors from
|
|
65
|
-
import * as Events from
|
|
66
|
-
import Plugin from
|
|
67
|
-
import BasePlugin from
|
|
68
|
-
import { InstManager } from
|
|
69
|
-
import { default as PlayIcon } from
|
|
70
|
-
import { default as TimeIcon } from
|
|
71
|
-
import { default as Progress } from
|
|
72
|
-
import { default as FullscreenIcon } from
|
|
73
|
-
import { default as CssFullscreenIcon } from
|
|
74
|
-
import { default as VolumeIcon } from
|
|
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';
|
package/es/instManager.d.ts
CHANGED
|
@@ -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(
|
|
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
|
-
|
|
2
|
+
let LANG: string;
|
|
3
3
|
namespace TEXT {
|
|
4
4
|
namespace ERROR_TYPES {
|
|
5
5
|
namespace network {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
let code: number;
|
|
7
|
+
let msg: string;
|
|
8
8
|
}
|
|
9
9
|
namespace mse {
|
|
10
|
-
|
|
10
|
+
let code_1: number;
|
|
11
11
|
export { code_1 as code };
|
|
12
|
-
|
|
12
|
+
let msg_1: string;
|
|
13
13
|
export { msg_1 as msg };
|
|
14
14
|
}
|
|
15
15
|
namespace parse {
|
|
16
|
-
|
|
16
|
+
let code_2: number;
|
|
17
17
|
export { code_2 as code };
|
|
18
|
-
|
|
18
|
+
let msg_2: string;
|
|
19
19
|
export { msg_2 as msg };
|
|
20
20
|
}
|
|
21
21
|
namespace format {
|
|
22
|
-
|
|
22
|
+
let code_3: number;
|
|
23
23
|
export { code_3 as code };
|
|
24
|
-
|
|
24
|
+
let msg_3: string;
|
|
25
25
|
export { msg_3 as msg };
|
|
26
26
|
}
|
|
27
27
|
namespace decoder {
|
|
28
|
-
|
|
28
|
+
let code_4: number;
|
|
29
29
|
export { code_4 as code };
|
|
30
|
-
|
|
30
|
+
let msg_4: string;
|
|
31
31
|
export { msg_4 as msg };
|
|
32
32
|
}
|
|
33
33
|
namespace runtime {
|
|
34
|
-
|
|
34
|
+
let code_5: number;
|
|
35
35
|
export { code_5 as code };
|
|
36
|
-
|
|
36
|
+
let msg_5: string;
|
|
37
37
|
export { msg_5 as msg };
|
|
38
38
|
}
|
|
39
39
|
namespace timeout {
|
|
40
|
-
|
|
40
|
+
let code_6: number;
|
|
41
41
|
export { code_6 as code };
|
|
42
|
-
|
|
42
|
+
let msg_6: string;
|
|
43
43
|
export { msg_6 as msg };
|
|
44
44
|
}
|
|
45
45
|
namespace other {
|
|
46
|
-
|
|
46
|
+
let code_7: number;
|
|
47
47
|
export { code_7 as code };
|
|
48
|
-
|
|
48
|
+
let msg_7: string;
|
|
49
49
|
export { msg_7 as msg };
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
2
|
+
let LANG: string;
|
|
3
3
|
namespace TEXT {
|
|
4
4
|
namespace ERROR_TYPES {
|
|
5
5
|
namespace network {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
let code: number;
|
|
7
|
+
let msg: string;
|
|
8
8
|
}
|
|
9
9
|
namespace mse {
|
|
10
|
-
|
|
10
|
+
let code_1: number;
|
|
11
11
|
export { code_1 as code };
|
|
12
|
-
|
|
12
|
+
let msg_1: string;
|
|
13
13
|
export { msg_1 as msg };
|
|
14
14
|
}
|
|
15
15
|
namespace parse {
|
|
16
|
-
|
|
16
|
+
let code_2: number;
|
|
17
17
|
export { code_2 as code };
|
|
18
|
-
|
|
18
|
+
let msg_2: string;
|
|
19
19
|
export { msg_2 as msg };
|
|
20
20
|
}
|
|
21
21
|
namespace format {
|
|
22
|
-
|
|
22
|
+
let code_3: number;
|
|
23
23
|
export { code_3 as code };
|
|
24
|
-
|
|
24
|
+
let msg_3: string;
|
|
25
25
|
export { msg_3 as msg };
|
|
26
26
|
}
|
|
27
27
|
namespace decoder {
|
|
28
|
-
|
|
28
|
+
let code_4: number;
|
|
29
29
|
export { code_4 as code };
|
|
30
|
-
|
|
30
|
+
let msg_4: string;
|
|
31
31
|
export { msg_4 as msg };
|
|
32
32
|
}
|
|
33
33
|
namespace runtime {
|
|
34
|
-
|
|
34
|
+
let code_5: number;
|
|
35
35
|
export { code_5 as code };
|
|
36
|
-
|
|
36
|
+
let msg_5: string;
|
|
37
37
|
export { msg_5 as msg };
|
|
38
38
|
}
|
|
39
39
|
namespace timeout {
|
|
40
|
-
|
|
40
|
+
let code_6: number;
|
|
41
41
|
export { code_6 as code };
|
|
42
|
-
|
|
42
|
+
let msg_6: string;
|
|
43
43
|
export { msg_6 as msg };
|
|
44
44
|
}
|
|
45
45
|
namespace other {
|
|
46
|
-
|
|
46
|
+
let code_7: number;
|
|
47
47
|
export { code_7 as code };
|
|
48
|
-
|
|
48
|
+
let msg_7: string;
|
|
49
49
|
export { msg_7 as msg };
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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;
|