add theme

This commit is contained in:
Harvey Zack committed 2018-10-16 13:15:54 +08:00
1 parent ca0c67499b
commit e8e8f7e8e7
9 files changed
+66 -12

No files matched your search

+1 -1
View File
@@ -50,6 +50,7 @@ class Artplayer extends Emitter {
layers: [],
contextmenu: [],
loading: '',
theme: '#1aafff',
lang: navigator.language.toLowerCase()
};
}
@@ -101,7 +102,6 @@ class Artplayer extends Emitter {
this.events.destroy();
this.refs.$container.innerHTML = '';
instances.splice(instances.indexOf(this), 1);
return this;
}
}