BetterTube

BetterTube

A better Youtube embed tag for jekyll: thumbnail on initial load and replace with iframe on click.

BetterTube

A better Youtube embed tag for jekyll.

Syntax

{% youtube /v8o-Vd__I-A 560 315 %}
{% youtube http://youtu.be/v8o-Vd__I-A %}

Usage

  • Put BetterTube.rb in _plugins folder

  • Optional: Use BetterTube.js and BetterTube.css or write your own.

See it in action here.

jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer