mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
V5 (#509)
* update artplayer.d.ts * update variables.less * update artplayerPluginControl * build:all * update docs * update docs * update docs * Update layers.md * update index.js * update docs * update docs
This commit is contained in:
1 parent
c8c08137c4
commit
ee49a0435e
202 files changed
+5293
-3466
No files matched your search
@@ -33,10 +33,7 @@ export default class Artplayer extends Emitter {
|
||||
this.id = ++id;
|
||||
|
||||
const mergeOption = utils.mergeDeep(Artplayer.option, option);
|
||||
|
||||
if (option.container instanceof Element) {
|
||||
mergeOption.container = option.container;
|
||||
}
|
||||
mergeOption.container = option.container;
|
||||
|
||||
this.option = validator(mergeOption, scheme);
|
||||
|
||||
|
||||
Reference in new issue
Block a user