diff --git a/web-client/assist.html b/web-client/assist.html index be0918e..f076086 100644 --- a/web-client/assist.html +++ b/web-client/assist.html @@ -354,7 +354,8 @@ background="transparent" speed="1" loop - autoplay> + autoplay + intermission="0"> @@ -632,6 +633,17 @@ console.log('✅ Lottie animation loaded'); updateLottieSpeed(); }); + + lottiePlayer.addEventListener('error', (e) => { + console.error('❌ Lottie animation error:', e); + console.log('Trying to load first animation...'); + // Попробовать загрузить первую анимацию из файла + lottiePlayer.load('AI robot.lottie'); + }); + + lottiePlayer.addEventListener('load', () => { + console.log('✅ Lottie file loaded successfully'); + }); } });