add console link

This commit is contained in:
Harvey Zack committed 2019-08-08 19:46:57 +08:00
1 parent 6fb1b0eb6e
commit 655c8dad70
3 files changed
+21 -16

No files matched your search

+7
View File
@@ -33,6 +33,13 @@ class Artplayer extends Emitter {
this.option = utils.mergeDeep(Artplayer.DEFAULTS, option);
validator(this.option, scheme);
this.init();
// eslint-disable-next-line no-console
console.log(
'%c ArtPlayer %c __VERSION__ %c https://github.com/zhw2590582/ArtPlayer',
'color: #fff; background: #E91E63',
'color: #fff; background: #00BCD4',
'color: #000',
);
}
static get version() {