Add the whole blog
This commit is contained in:
parent
0d2f58ce7a
commit
c4f23c1529
418 changed files with 15708 additions and 0 deletions
19
content/post/2013-06-25-video-post.md
Normal file
19
content/post/2013-06-25-video-post.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
date: "2013-06-25T00:00:00Z"
|
||||
description: Custom written post descriptions are the way to go... if you're not lazy.
|
||||
tags:
|
||||
- sample post
|
||||
- video
|
||||
title: A Post with a Video
|
||||
disable_share: true
|
||||
---
|
||||
|
||||
<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"> </iframe>
|
||||
|
||||
Video embeds are responsive and scale with the width of the main content block with the help of [FitVids](http://fitvidsjs.com/).
|
||||
|
||||
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:
|
||||
|
||||
{{< highlight html >}}
|
||||
<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"> </iframe>
|
||||
{{< / highlight >}}
|
Loading…
Add table
Add a link
Reference in a new issue