Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

185
Visualizações
Lottie animation files not playing on our wordpress website

We have a webpage here: Optimized Frozen Food Production Operations | IcePoint® that has 3 lottie animations in the “How It Works” section just about half way down the page. They were working but now they are broken.

I have gone through and checked the files and they are present where they should be. This is a customized WordPress website that I inherited from another designer so I will go through the steps I have found that they setup.

In the section of this page is this code: <script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>

On the page mentioned above we have this code for each slide in the How It Works section:

<lottie-player src="<?php echo get_stylesheet_directory_uri(); ?>/animations/<?php the_sub_field('lottie_animation');?>" background="transparent" speed="1" style="width: 100%; height: 100%;" loop autoplay controls></lottie-player>

This gives us the urls to the 3 lottie player json files needed:

FPS: fps.json MVR: data02c.json Energy Balance: energy_balance.json

If I right click on the page and click View Page Source, I can see that the lottie script looks to be installed correctly.

When I go to the links from View Page Source for the json files I can see that these is json code within these files. If I add the files to the lottiefiles preview site they work.

When I go to the page mentioned at the top the animations do not appear. If I refresh the page they flash for a second or the controls bar flashes for a second and disappears.

We do have other places on the site that have Lottie files that work but they are setup slightly different.

Can anyone tell me what is blocking the animations from appearing?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda