remove networkMonitor

This commit is contained in:
zhw2590582 committed 2021-11-28 19:49:18 +08:00
1 parent 50dd23ae31
commit 6d6d78939d
4 files changed
+6 -9

No files matched your search

-1
View File
@@ -23,7 +23,6 @@ var art = new Artplayer({
miniProgressBar: true,
localVideo: true,
localSubtitle: true,
networkMonitor: false,
mutex: true,
backdrop: true,
log: true,
-1
View File
@@ -134,7 +134,6 @@ export default class Artplayer extends Emitter {
miniProgressBar: false,
localVideo: false,
localSubtitle: false,
networkMonitor: false,
useSSR: false,
layers: [],
contextmenu: [],
-1
View File
@@ -56,7 +56,6 @@ export default {
miniProgressBar: b,
localVideo: b,
localSubtitle: b,
networkMonitor: b,
useSSR: b,
plugins: [f],
whitelist: [`${s}|${f}|${r}`],
+6 -6
View File
@@ -7,9 +7,10 @@ type Component = {
click?: Function;
mounted?: Function;
tooltip?: string;
position?: 'top' | 'left' | 'right' | 'middle';
position?: 'top' | 'left' | 'right';
selector?: {
name: string;
default?: boolean;
html: string;
}[];
onSelect?: Function;
};
@@ -46,7 +47,6 @@ export default class Artplayer {
miniProgressBar?: boolean;
localVideo?: boolean;
localSubtitle?: boolean;
networkMonitor?: boolean;
useSSR?: boolean;
plugins?: Function[];
whitelist?: (string | Function | RegExp)[];
@@ -55,7 +55,7 @@ export default class Artplayer {
controls?: Component[];
quality?: {
default?: boolean;
name: string;
html: string;
url: string;
}[];
highlight?: {
@@ -72,8 +72,8 @@ export default class Artplayer {
subtitle?: {
url: string;
style: object;
encoding: string,
bilingual: boolean,
encoding: string;
bilingual: boolean;
};
moreVideoAttr?: object;
icons?: {