• Resolved Valentin Grenier

    (@valentingrenier)


    My Lottie is correctly displayed in the block editor, I can have access to all options and I see it correctly. However, on the front-end, nothing appears. There are no errors in the console, I just have those lines in the DOM:

    <!-- wp:lpb/lottie-player {"cId":"3cb0e069-7","file":"[LINK]"} /-->
    <!-- wp:lpb/lottie-player {"cId":"fdcdd6a2-c"} /-->

    I am using WordPress 6.5.5 and Lottie Player Block 1.1.6.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Charles Cormier

    (@charlescormier)

    Hi @valentingrenier,

    It’s a public place, so if you don’t mind, could you please share the page link where you used the block?

    Thank you!

    Plugin Author Charles Cormier

    (@charlescormier)

    Hi @valentingrenier,

    We haven’t received any updates from you since then. We’re reaching out to inquire whether your issue has been resolved or if you need any further assistance. Please let us know the update.

    Thank you!

    Thread Starter Valentin Grenier

    (@valentingrenier)

    Sure, there is an example on this post : https://axonaut.studio-val.fr/test-lottie/

    Plugin Author Charles Cormier

    (@charlescormier)

    Did other blocks works for your page?
    Its seams like the block is not rendering on the page.

    Thread Starter Valentin Grenier

    (@valentingrenier)

    Yes other blocks are correctly rendered. I have just added other blocks on the page and they are rendered as expected.

    Plugin Author Charles Cormier

    (@charlescormier)

    Hi,

    Perhaps your website doesn’t support dynamic blocks. I’d like to try it out; please install this block plugin and confirm if the block is rendering correctly on your page. This is just for testing.

    https://wordpress.org/plugins/advanced-post-block/

    Thank you!

    Thread Starter Valentin Grenier

    (@valentingrenier)

    Indeed dynamic blocks doesn’t seem to be supported. I have installed Advanced Post Block and the block is not rendering on the front-end. I will figure out why it doesn’t work. Perhaps you know why those blocks doesn’t work with Underscores starter theme?

    Many thanks!

    Plugin Author Charles Cormier

    (@charlescormier)

    Hi,

    Presently, I am unsure why the block isn’t working for that theme.
    If you find a solution, please let us know.
    Best of luck.

    Thank you!

    Thread Starter Valentin Grenier

    (@valentingrenier)

    Hello,

    I just found the bug in my template file, where I was getting the content wrongly.

    // Wrong way
    <?php echo get_the_content(); ?>

    // Good way
    <?php the_content(); ?>

    Thanks for your help 🙂

    Plugin Author Charles Cormier

    (@charlescormier)

    Glad to hear.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Lottie Player doesn’t show up on the front-end while showing up in block editor’ is closed to new replies.