build all packages

This commit is contained in:
Harvey committed 2021-05-11 10:35:15 +08:00
1 parent 8604162fe2
commit 817d9134c6
14 files changed
+54 -26

No files matched your search

+3 -2
View File
@@ -1,11 +1,11 @@
import config from '../config';
import { sleep, addClass } from '../utils';
import { sleep, addClass, setStyle } from '../utils';
export default function eventInit(art, player) {
const {
option,
events: { proxy },
template: { $player, $video },
template: { $player, $video, $poster },
i18n,
notice,
} = art;
@@ -105,6 +105,7 @@ export default function eventInit(art, player) {
art.on('video:play', () => {
art.mask.show = false;
setStyle($poster, 'display', 'none');
});
art.on('video:playing', () => {