• Home
  • About
    • Moon photo

      马子锦Blog

      马子锦的博客会发布一些编程的文章和马子锦自己生活的记录~

    • Learn More
    • Twitter
    • Facebook
    • Instagram
    • Github
    • Steam
  • Posts
    • All Posts
    • tags
  • Projects

All Posts

A Post with a Video

15 Mar 2016

Reading time ~1 minute

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="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"> </iframe>


samplepostvideo Share Tweet +1