This commit is contained in:
Harvey committed 2022-04-28 10:37:12 +08:00
1 parent c4b4d4e7a8
commit 3fc4b99841
15 files changed
+39 -7438

No files matched your search

+5 -1
View File
@@ -1,4 +1,4 @@
import './style/index.less';
import style from 'bundle-text:./style/index.less';
import validator from 'option-validator';
import Emitter from './utils/emitter';
import * as utils from './utils';
@@ -221,6 +221,10 @@ Artplayer.INFO_LOOP_TIME = 1000;
Artplayer.FAST_FORWARD_VALUE = 3;
Artplayer.FAST_FORWARD_TIME = 1000;
const $style = document.createElement('style');
$style.textContent = style;
shadowRoot.appendChild($style);
// eslint-disable-next-line no-console
console.log(
'%c ArtPlayer %c __VERSION__ %c https://artplayer.org',