Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This Jekill/Octopress plugin improves the responsiveness on page that embed many youtube iframe by delaying the iframe creation until the user clicks on the video

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 plugin
Octocat-spinner-32 sass initial version November 27, 2012
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

jekyll-youtube-lazyloading

This Jekill/Octopress plugin improves the responsiveness on page that embed many youtube iframe by delaying the iframe creation until the user clicks on the video

How to use it

add a {% youtube <videoid> %} in your markdown page

Demo

see this page for a demo

How to install it ?

  1. Add youtube.rb to your plugin folder
  2. Copy _rve.sccs to /sass/custom
  3. Add @import "custom/rve" to /sass/screen.scss

credits

Thanks go to Anders M. Andersen for his blogpost about responsive embeds and to Portway Point for their Jekyll Youtube Liquid Template Tag Gist

Edorsement

If you like it feel free to endorse me:

Something went wrong with that request. Please try again.