mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
调整组件公共函数
This commit is contained in:
1 parent
8619fa1b8b
commit
c882814fb0
8 files changed
+167
-23
No files matched your search
@@ -1,9 +1,3 @@
|
||||
export default class ControlMix {
|
||||
constructor(option) {
|
||||
this.option = option;
|
||||
}
|
||||
|
||||
apply(art, $control) {
|
||||
//
|
||||
}
|
||||
export default function controlMix(art) {
|
||||
//
|
||||
}
|
||||
@@ -2,14 +2,14 @@ import './index.scss';
|
||||
import i18nMix from './i18nMix';
|
||||
import contextmenuMix from './contextmenuMix';
|
||||
import settingMix from './settingMix';
|
||||
import ControlMix from './controlMix';
|
||||
import controlMix from './controlMix';
|
||||
|
||||
function artplayerPluginDanmu(Artplayer) {
|
||||
const art = Artplayer.prototype;
|
||||
i18nMix(art);
|
||||
contextmenuMix(art);
|
||||
settingMix(art);
|
||||
ControlMix(art);
|
||||
controlMix(art);
|
||||
}
|
||||
|
||||
window.artplayerPluginDanmu = artplayerPluginDanmu;
|
||||
|
||||
Reference in new issue
Block a user