build all packages

This commit is contained in:
zhw2590582 committed 2019-05-13 06:07:33 +08:00
1 parent 773714f739
commit 89fecf5488
22 files changed
+60 -57

No files matched your search

@@ -10,7 +10,6 @@ export default function eventInit(art, player) {
notice,
} = art;
let firstCanplay = false;
let reconnectTime = 0;
const maxReconnectTime = 5;
@@ -29,14 +28,6 @@ export default function eventInit(art, player) {
// });
art.on('video:canplay', () => {
if (!firstCanplay) {
firstCanplay = true;
if (option.autoplay) {
player.play();
}
art.emit('firstCanplay');
}
reconnectTime = 0;
art.controls.show();
art.mask.show();