Youtube Video Lazy Load Directive For Angular

Author: oblador
Publish Date:
Official Page: Go to website
License: MIT

Lightweight, responsive, lazy loaded YouTube videos that degrades gracefully. This AngularJS directive replaces any heavy iframes or links with a image preview that loads the player only on click. Useful when performance and page size is important or for sites with many embeded youtube videos.

For a simple example page with 10 videos, lazytube will reduce loadtime by 7x and memory usage by 2-3x.

Preview:

Youtube Video Lazy Load Directive For Angular

Tags: