Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lazy load embedded youtube videos #282

Open
RussTedrake opened this issue Feb 5, 2020 · 1 comment
Open

lazy load embedded youtube videos #282

RussTedrake opened this issue Feb 5, 2020 · 1 comment
Assignees

Comments

@RussTedrake
Copy link
Owner

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

@RussTedrake RussTedrake self-assigned this Feb 5, 2020
@RussTedrake
Copy link
Owner Author

ah. already had one mechanism, but had forgetten to use it. data-src instead of src.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant