artplayer@4.3.17

This commit is contained in:
Harvey Zack committed 2022-05-02 16:27:25 +08:00
1 parent 3e97b05a73
commit 7ce17f90c4
11 files changed
+749 -72

No files matched your search

+9 -5
View File
@@ -222,12 +222,16 @@ Artplayer.INFO_LOOP_TIME = 1000;
Artplayer.FAST_FORWARD_VALUE = 3;
Artplayer.FAST_FORWARD_TIME = 1000;
const $style = document.createElement('style');
$style.dataset.from = 'artplayer';
$style.textContent = style;
document.head.appendChild($style);
if (typeof document !== 'undefined') {
const $style = document.createElement('style');
$style.dataset.from = 'artplayer';
$style.textContent = style;
document.head.appendChild($style);
}
window['Artplayer'] = Artplayer;
if (typeof window !== 'undefined') {
window['Artplayer'] = Artplayer;
}
// eslint-disable-next-line no-console
console.log(