mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 23:36:15 -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,
|
||||
localVideo: true,
|
||||
localSubtitle: true,
|
||||
networkMonitor: false,
|
||||
mutex: true,
|
||||
backdrop: true,
|
||||
log: true,
|
||||
|
||||
@@ -134,7 +134,6 @@ export default class Artplayer extends Emitter {
|
||||
miniProgressBar: false,
|
||||
localVideo: false,
|
||||
localSubtitle: false,
|
||||
networkMonitor: false,
|
||||
useSSR: false,
|
||||
layers: [],
|
||||
contextmenu: [],
|
||||
|
||||
@@ -56,7 +56,6 @@ export default {
|
||||
miniProgressBar: b,
|
||||
localVideo: b,
|
||||
localSubtitle: b,
|
||||
networkMonitor: b,
|
||||
useSSR: b,
|
||||
plugins: [f],
|
||||
whitelist: [`${s}|${f}|${r}`],
|
||||
|
||||
+6
-6
@@ -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?: {
|
||||
|
||||
Reference in new issue
Block a user