add ads.js

This commit is contained in:
Harvey committed 2021-12-23 13:45:50 +08:00
1 parent 0048991f7e
commit 6c32895d34
7 files changed
+124 -4

No files matched your search

+2
View File
@@ -22,6 +22,7 @@ import Icons from './icons';
import Setting from './setting';
import Storage from './storage';
import Plugins from './plugins';
import Ads from './ads';
import Mobile from './mobile';
let id = 0;
@@ -52,6 +53,7 @@ export default class Artplayer extends Emitter {
this.controls = new Control(this);
this.contextmenu = new Contextmenu(this);
this.subtitle = new Subtitle(this);
this.ads = new Ads(this);
this.info = new Info(this);
this.loading = new Loading(this);
this.hotkey = new Hotkey(this);