A Post with a Video

June 25, 2013 in Uncategorized
Video embeds are responsive and scale with the width of the main content block with the help of FitVids. Not sure if this only effects Kramdown or if it’s an issue with Markdown in general. But adding YouTube video embeds causes errors when building your Jekyll site. To fix add a space between the <iframe> tags and remove allowfullscreen. Example below:
<iframe width="560" height="315" src="http://www.youtube.com/embed/PWf4WUoMXwg" frameborder="0"> </iframe>
A Post with a Video was originally published by Open Data Hong Kong at Open Data Hong Kong on June 25, 2013.

Comments are closed.