pupil-labs / pupil-docs-website

static site generator for pupil docs
GNU Lesser General Public License v3.0
2 stars 3 forks source link

Lazyload youtube videos #72

Closed nathakits closed 7 years ago

nathakits commented 7 years ago

lazyload embedded youtube videos. By embedding videos we request more than just a video file. A number of resources are fetched. So, instead of loading the Youtube video as soon as the page loads, we are going to pull and play the video when the user asks to do so.

nathakits commented 7 years ago

PR youtube lazyload js gulptask - https://github.com/pupil-labs/pupil-docs-website/pull/71 youtube lazyload js - https://github.com/pupil-labs/docuapi/pull/36

@willpatera - please review PR

willpatera commented 7 years ago

Merged! Much better performance 😄