Lazy load to improve widget performance

Please introduce lazy loading so widget will be able to play greater number of audio files smoothly

  • Dec 30, 2022

    Admin response

    Hello folks!

    We're closing this feature as the solution in the comments does resolve the issue 🎉

    Since this Wishlist Portal has moved to our Forum, you can find the details and leave your feedback here.


  • Admin
    Helga R commented
    17 Aug, 2022 12:25pm

    Hello folks!

    Big news is coming — lazy load beta version for embedded widgets is here! 😍

    It doesn't work as a built-in option yet due to a couple of unresolved matters, but you can adjust your widget manually in order to make it work :)

    To turn it on, please add the “data-elfsight-app-lazy” attribute to a <div> element in your installation code.

    For example, here’s how the code looks like initially:

    <script src="" defer></script>

    <div class="elfsight-app-9d3beb9e-4c72-4bd1-8ed6-c192fc9e56c7"></div>

    And here’s how it should look like with the attribute added:

    <script src="" defer></script>

    <div class="elfsight-app-9d3beb9e-4c72-4bd1-8ed6-c192fc9e56c7" data-elfsight-app-lazy></div>

    Please keep in mind that it will work only for widgets which are not in the initial viewport (e.g. users have to scroll down at least for a little bit before they reach the widget).

    Please do let us know if it worked on your end 🙂

  • Admin
    Helga R commented
    28 Jan, 2022 07:49am


    Thanks a lot for adding your request!

    I do understand your point and I also think lazy load would be a great solution. We'll try to add this task in one of our future updates :)

    Thank you for helping us!

    Helga, Community Manager

    Keep up with latest updates - Facebook
    Get to know our team - Instagram