mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
添加弹幕插件
This commit is contained in:
1 parent
d626ee601e
commit
582114e79d
16 files changed
+158
-27
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { errorHandle } from '../utils';
|
||||
import component from '../utils/component';
|
||||
import fullscreen from './fullscreen';
|
||||
import fullscreenWeb from './fullscreenWeb';
|
||||
@@ -155,9 +156,8 @@ export default class Controls {
|
||||
break;
|
||||
}
|
||||
|
||||
if (parent) {
|
||||
component(this.art, this, parent, option, callback, 'control');
|
||||
}
|
||||
errorHandle(parent, 'Controls option.position can not be empty');
|
||||
return component(this.art, this, parent, option, callback, 'control');
|
||||
}
|
||||
|
||||
show() {
|
||||
|
||||
Reference in new issue
Block a user