Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dbhynds

    (@dbhynds)

    Possibly. It depends on hour you’re implementing the video. How are you loading the ideo on the page currently?

    Thread Starter Luke Cavanagh

    (@lukefiretoss)

    This is a simple implementation of how the files are being loaded currently.

    https://gist.github.com/lukecav/f32f8ad09b32e32f2631

    Plugin Author dbhynds

    (@dbhynds)

    Great… so looking at this it looks like the video will load on the page like normal, but CSS will make it appear in the background.

    If that’s the case, this plugin ought to lazy load it, no problem. Have you tried it yet? If it’s not working, let me know and I’ll look into it.

    Thread Starter Luke Cavanagh

    (@lukefiretoss)

    In this case the video is just used on two sliders of the homepage slider. Each video is around 1.5-3mb in size. So not sure if Lazy Load would really help. Rather than background loading those two assets.

    Plugin Author dbhynds

    (@dbhynds)

    3-6mb is nothing to sneeze at, especially for mobile users. You should be able to just use the plugin out of the box, but if you’re proficient with js and want to do some more advanced implementation with the slider, check out the github page (https://github.com/ressio/lazy-load-xt/).

    Good luck, and if you need any additional help, let me know.

    Thread Starter Luke Cavanagh

    (@lukefiretoss)

    Okay thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Lazy Loading mp4 video’ is closed to new replies.