Lazy-loading Embedded Videos

At MyEducator we do a lot of work with embedded, video content from our course creators.  As of the date of this article we use Vimeo Pro accounts which have worked well thus far, but we will probably migrate to something more commercial in the future.  Vimeo is not naturally supportive of business 🙂

A problem we ran into on a few courses was that we had too many videos embedded on the same page.  While the page loaded relatively quickly, when you tried to play a video it would delay for several minutes as all of the videos tried to load into the page.  That is just an unacceptable amount of wait time, so I came up with a straightforward way to lazy load the videos when they appear on screen.

Continue reading “Lazy-loading Embedded Videos”

Advertisements
Lazy-loading Embedded Videos