pull/1/head
Jan Umbach 2024-05-30 12:54:23 +02:00
parent 15ca90af62
commit 78caab93d2
1 changed files with 5 additions and 2 deletions

View File

@ -63,14 +63,17 @@
videoElement.style.height = '0px'; videoElement.style.height = '0px';
//animejs fade in //animejs fade in
setTimeout(() => { //dom ready
document.addEventListener('DOMContentLoaded', function() {
anime({ anime({
targets: videoElement, targets: videoElement,
height: '400px', height: '400px',
duration: 500, duration: 500,
easing: 'cubicBezier(0.590, 0.190, 0.050, 0.990)' easing: 'cubicBezier(0.590, 0.190, 0.050, 0.990)'
}); });
}, 1000);
console.log('open animation');
});
} }
} }
} }