jekyll-video-embed

December 6, 2016 ยท View on GitHub

It provides several tags which generates a HTML snippet to embed videos, and can easily support others video websites. This plugin was heavily based on @joelverhagen gist example.

Installation

Place the file in the _plugins directory.

Usage

To include a video in your jekyll post, just use the string {% tag video_id width height %} and replace by its respective tag and video_id, the width (default value: 640) and height(default value: 360) are optional.

Description

The following table shows the supported websites, their respective tag, and where is located the video_id (highlighted) in the URL of each video.

WebsiteTagVideo ID
ted.comtedted.com/talks/ken_robinson_says_schools_kill_creativity
ustream.tvustreamustream.tv/channel/6540154
vimeo.comvimeovimeo.com/22439234
youtube.comyoutubeyoutube.com/watch?v=9bZkp7q19f0