• Resolved deyson

    (@deyson)


    Hello. I would like to add a lazy load onto my site.

    I am using video posters as thumbnails instead of src images and it seems that they do not get affected by any lazy load plugin I have tried.

    This is the code I use to call my thumbnails and video:
    ‘<video id=”video-example” poster=”../Drop_Zone_Drop_med.jpg” width=”400″ height=”225″ loop>

    </video>’
    ( The dots represent information removed to save space on this post. )

    Is there a way I can apply lazy load to div class or a video poster.

    Thank you very much ??

    https://www.ads-software.com/extend/plugins/bj-lazy-load/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bj?rn Johansen

    (@bjornjohansen)

    Sorry, but as of now, the plugins works with img and iframe elements only.

    It shouldn’t be much work to extend the plugin to work with video elements as well. I just might add it in the future whenever I get the time to update the plugin.

    Thread Starter deyson

    (@deyson)

    Hello. I am a coding newbie. I was wondering if you can point me in the right direction.

    Can I add the lazy load to just a div class?

    Which line number in the code should I focus on or this more complicated then I thought. ??

    Thank you ! ??

    Plugin Author Bj?rn Johansen

    (@bjornjohansen)

    If you want to lazy load images not in content, you might want to check out the filter function provided. It is documented here: https://www.ads-software.com/extend/plugins/bj-lazy-load/other_notes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: BJ Lazy Load] Load Div class or video poster’ is closed to new replies.