This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent dabfb2b8c8
commit fedbf3b6f7
10 files changed
+1 -480

No files matched your search

-10
View File
@@ -1,6 +1,4 @@
import { errorHandle, has, def } from '../utils';
import localVideo from './localVideo';
import localSubtitle from './localSubtitle';
import miniProgressBar from './miniProgressBar';
export default class Plugins {
@@ -14,14 +12,6 @@ export default class Plugins {
this.add(miniProgressBar);
}
if (option.localVideo) {
this.add(localVideo);
}
if (option.localSubtitle) {
this.add(localSubtitle);
}
for (let index = 0; index < option.plugins.length; index++) {
this.add(option.plugins[index]);
}