mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
build all packages
This commit is contained in:
1 parent
8604162fe2
commit
817d9134c6
14 files changed
+54
-26
No files matched your search
@@ -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', () => {
|
||||
|
||||
Reference in new issue
Block a user