Skip to content

Lazy Loading Video #81

@TomS-

Description

@TomS-

Hello,

I noticed that LazyLoad XT hasn't updated in 3 months and I was having an issue with it not lazy loading on Mac OSX Safari.

In this current build it's very important to lazy load videos:
<video class="b-lazy" width="100%" height="100%" autoplay loop muted data-poster="<?=$layout->featured_project_video_placeholder_poster->url?>"> <source class="b-lazy" data-src="<?=$layout->featured_project_video_placeholder_mp4->url?>" type="video/mp4"> <source class="b-lazy" data-src="<?=$layout->featured_project_video_placeholder_webm->url?>" type="video/webm"> <source class="b-lazy" data-src="<?=$layout->featured_project_video_placeholder_ogg->url?>" type="video/ogg"> </video>

I've tried the above but it didn't work. Is there any plan to support this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions