mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
remove networkMonitor
This commit is contained in:
1 parent
50dd23ae31
commit
6d6d78939d
4 files changed
+6
-9
No files matched your search
@@ -23,7 +23,6 @@ var art = new Artplayer({
|
|||||||
miniProgressBar: true,
|
miniProgressBar: true,
|
||||||
localVideo: true,
|
localVideo: true,
|
||||||
localSubtitle: true,
|
localSubtitle: true,
|
||||||
networkMonitor: false,
|
|
||||||
mutex: true,
|
mutex: true,
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
log: true,
|
log: true,
|
||||||
|
|||||||
@@ -134,7 +134,6 @@ export default class Artplayer extends Emitter {
|
|||||||
miniProgressBar: false,
|
miniProgressBar: false,
|
||||||
localVideo: false,
|
localVideo: false,
|
||||||
localSubtitle: false,
|
localSubtitle: false,
|
||||||
networkMonitor: false,
|
|
||||||
useSSR: false,
|
useSSR: false,
|
||||||
layers: [],
|
layers: [],
|
||||||
contextmenu: [],
|
contextmenu: [],
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ export default {
|
|||||||
miniProgressBar: b,
|
miniProgressBar: b,
|
||||||
localVideo: b,
|
localVideo: b,
|
||||||
localSubtitle: b,
|
localSubtitle: b,
|
||||||
networkMonitor: b,
|
|
||||||
useSSR: b,
|
useSSR: b,
|
||||||
plugins: [f],
|
plugins: [f],
|
||||||
whitelist: [`${s}|${f}|${r}`],
|
whitelist: [`${s}|${f}|${r}`],
|
||||||
|
|||||||
+6
-6
@@ -7,9 +7,10 @@ type Component = {
|
|||||||
click?: Function;
|
click?: Function;
|
||||||
mounted?: Function;
|
mounted?: Function;
|
||||||
tooltip?: string;
|
tooltip?: string;
|
||||||
position?: 'top' | 'left' | 'right' | 'middle';
|
position?: 'top' | 'left' | 'right';
|
||||||
selector?: {
|
selector?: {
|
||||||
name: string;
|
default?: boolean;
|
||||||
|
html: string;
|
||||||
}[];
|
}[];
|
||||||
onSelect?: Function;
|
onSelect?: Function;
|
||||||
};
|
};
|
||||||
@@ -46,7 +47,6 @@ export default class Artplayer {
|
|||||||
miniProgressBar?: boolean;
|
miniProgressBar?: boolean;
|
||||||
localVideo?: boolean;
|
localVideo?: boolean;
|
||||||
localSubtitle?: boolean;
|
localSubtitle?: boolean;
|
||||||
networkMonitor?: boolean;
|
|
||||||
useSSR?: boolean;
|
useSSR?: boolean;
|
||||||
plugins?: Function[];
|
plugins?: Function[];
|
||||||
whitelist?: (string | Function | RegExp)[];
|
whitelist?: (string | Function | RegExp)[];
|
||||||
@@ -55,7 +55,7 @@ export default class Artplayer {
|
|||||||
controls?: Component[];
|
controls?: Component[];
|
||||||
quality?: {
|
quality?: {
|
||||||
default?: boolean;
|
default?: boolean;
|
||||||
name: string;
|
html: string;
|
||||||
url: string;
|
url: string;
|
||||||
}[];
|
}[];
|
||||||
highlight?: {
|
highlight?: {
|
||||||
@@ -72,8 +72,8 @@ export default class Artplayer {
|
|||||||
subtitle?: {
|
subtitle?: {
|
||||||
url: string;
|
url: string;
|
||||||
style: object;
|
style: object;
|
||||||
encoding: string,
|
encoding: string;
|
||||||
bilingual: boolean,
|
bilingual: boolean;
|
||||||
};
|
};
|
||||||
moreVideoAttr?: object;
|
moreVideoAttr?: object;
|
||||||
icons?: {
|
icons?: {
|
||||||
|
|||||||
Reference in new issue
Block a user