mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
add switcher
This commit is contained in:
1 parent
65fd3fb9e6
commit
74d637fc65
10 files changed
+248
-38
No files matched your search
@@ -4,6 +4,7 @@ import localVideo from './localVideo';
|
||||
import localSubtitle from './localSubtitle';
|
||||
import miniProgressBar from './miniProgressBar';
|
||||
import networkMonitor from './networkMonitor';
|
||||
import switcher from './switcher';
|
||||
|
||||
export default class Plugins {
|
||||
constructor(art) {
|
||||
@@ -32,7 +33,9 @@ export default class Plugins {
|
||||
this.add(networkMonitor);
|
||||
}
|
||||
|
||||
art.option.plugins.forEach(plugin => {
|
||||
this.add(switcher);
|
||||
|
||||
art.option.plugins.forEach((plugin) => {
|
||||
this.add(plugin);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user