mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
添加Demo自适应
This commit is contained in:
1 parent
e9d7c0cfdc
commit
f75e01be3b
8 files changed
+65
-13
No files matched your search
@@ -25,11 +25,9 @@ let id = 0;
|
||||
class Artplayer extends Emitter {
|
||||
constructor(option) {
|
||||
super();
|
||||
this.emit('init:start');
|
||||
this.option = utils.deepMerge({}, Artplayer.DEFAULTS, option);
|
||||
optionValidator(this.option, scheme);
|
||||
this.init();
|
||||
this.emit('init:end');
|
||||
}
|
||||
|
||||
static get version() {
|
||||
|
||||
Reference in new issue
Block a user