Open RussTedrake opened 4 years ago
We are currently paying a heavy price in load time with every youtube video that is included. What's worse, we appear to pay this price even on the chapters that are currently hidden (via display:none).
display:none
ah. already had one mechanism, but had forgetten to use it. data-src instead of src.
We are currently paying a heavy price in load time with every youtube video that is included. What's worse, we appear to pay this price even on the chapters that are currently hidden (via
display:none
).280 will help a lot. But there are complicated solutions that could actually solve the problem. E.g. https://webdesign.tutsplus.com/tutorials/how-to-lazy-load-embedded-youtube-videos--cms-26743