mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
update
This commit is contained in:
1 parent
396026f533
commit
f4d3c77c6c
4 files changed
+4
-145
No files matched your search
@@ -3,8 +3,6 @@ import subtitleOffset from './subtitleOffset';
|
||||
import localVideo from './localVideo';
|
||||
import localSubtitle from './localSubtitle';
|
||||
import miniProgressBar from './miniProgressBar';
|
||||
import networkMonitor from './networkMonitor';
|
||||
import log from './log';
|
||||
|
||||
export default class Plugins {
|
||||
constructor(art) {
|
||||
@@ -29,14 +27,6 @@ export default class Plugins {
|
||||
this.add(localSubtitle);
|
||||
}
|
||||
|
||||
if (option.networkMonitor) {
|
||||
this.add(networkMonitor);
|
||||
}
|
||||
|
||||
if (option.log) {
|
||||
this.add(log);
|
||||
}
|
||||
|
||||
art.option.plugins.forEach((plugin) => {
|
||||
this.add(plugin);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user