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 loading media content #15

Open
jacksongoode opened this issue Jul 8, 2020 · 0 comments
Open

Lazy loading media content #15

jacksongoode opened this issue Jul 8, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jacksongoode
Copy link
Contributor

Now that much of the heavier media is sourced via a call to G-Drive, it might be useful to have some lazy loading functionality. This would allow the page's text to load first, provide a smoother experience when navigating through the posts, and would look neater compared to empty frames.

One option may be https://github.com/verlok/vanilla-lazyload for a more robust implementation.

However, there is also the option to use native lazy loading, which is included in most modern browsers (excluding Safari). This gem https://github.com/gildesmarais/jekyll-loading-lazy enables this for img and iframe tags with little configuration (this could also be done manually).

@jacksongoode jacksongoode added enhancement New feature or request help wanted Extra attention is needed labels Jul 8, 2020
@jacksongoode jacksongoode self-assigned this Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant