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

Extended to lazy-load iframed videos #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jkorff
Copy link
Owner

@jkorff jkorff commented Apr 24, 2016

While optimising my site I noticed that my iframed YouTube videos downloaded a lot of resources even if the visitor chose not to view them.

I found it would be natural to extend Easy Jail to also lazy-load these videos.

This change required also a change of the included jail.js.

Please review and feel free to further optimise. Thank you.

Extended Easy Jail to also lazy-load iframed videos (e.g. from YouTube).
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

Successfully merging this pull request may close these issues.

1 participant