<commit_before>---
layout: post
title: "Markdown Tips & Tricks - Part 2"
categories: [jekyll, github, tutorials in English]
tags: [markdown, kramdown, jekyll, github, github pages, git]
meta_keywords: markdown, kramdown, jekyll, github, github pages, git, tips and tricks, dicas e truques
author: <NAME>
fb_section: Tutorials - Jekyll
description: Part 2 - Embedding videos.
image: http://goo.gl/zcwqIN
imageUrl: https://goo.gl/Kb7R0N
image_schema: 'http://farm1.staticflickr.com//636//22456839236_a446a2ef25_o.png'
fb_title: Markdown Tips & Tricks - Part 2
fb_type: article
author_fb: marciaramosmdr
author_twitter: xmdramos
date: 2015-10-25 23:36:10 UTC
comments: true
published: true
authorUrl: https://plus.google.com/+MarciaDiasRamosMD/
language: [en_US, en_UK]
date_update: 2016-01-09 00:22:10 UTC
copy: true # copy button with javascript  
codingbox: true # code type on the top-right of code block boxes 
---

# **<mkp-blue>Embedding Videos</mkp-blue>**

<br>

This is the second article of the series **"Markdown Tips & Tricks - Thinking Outside the Box"**. On the [previous article][], it was explained how to deal with `html` **elements** and **classes** when writing markdown files. Now we are going to show you how to embed videos.

On the first part of this article, treated like **["Case A"](#i-classfa-fa-youtubeinbspnbspcase-a-iframe-tags---embedding-youtube-videos)**, we will have covered the steps for embedding videos via `iframe`, like you would do with YouTube videos. On the next, **["Case B"](#i-classfa-fa-youtube-playinbspnbspcase-b-video-tags)**, we will show you how to do that via `<video>` `html 5` tag, used when you need to display a video from your site root files.
<commit_msg>correcting language<commit_after>---
layout: post
title: "Markdown Tips & Tricks - Part 2"
categories: [jekyll, github, tutorials in English]
tags: [markdown, kramdown, jekyll, github, github pages, git]
meta_keywords: markdown, kramdown, jekyll, github, github pages, git, tips and tricks, dicas e truques
author: <NAME>
fb_section: Tutorials - Jekyll
description: Part 2 - Embedding videos.
image: http://goo.gl/zcwqIN
imageUrl: https://goo.gl/Kb7R0N
image_schema: 'http://farm1.staticflickr.com//636//22456839236_a446a2ef25_o.png'
fb_title: Markdown Tips & Tricks - Part 2
fb_type: article
author_fb: marciaramosmdr
author_twitter: xmdramos
date: 2015-10-25 23:36:10 UTC
comments: true
published: true
authorUrl: https://plus.google.com/+MarciaDiasRamosMD/
language: [en_US, en_GB]
date_update: 2016-01-09 00:22:10 UTC
copy: true # copy button with javascript  
codingbox: true # code type on the top-right of code block boxes 
---

# **<mkp-blue>Embedding Videos</mkp-blue>**

<br>

This is the second article of the series **"Markdown Tips & Tricks - Thinking Outside the Box"**. On the [previous article][], it was explained how to deal with `html` **elements** and **classes** when writing markdown files. Now we are going to show you how to embed videos.

On the first part of this article, treated like **["Case A"](#i-classfa-fa-youtubeinbspnbspcase-a-iframe-tags---embedding-youtube-videos)**, we will have covered the steps for embedding videos via `iframe`, like you would do with YouTube videos. On the next, **["Case B"](#i-classfa-fa-youtube-playinbspnbspcase-b-video-tags)**, we will show you how to do that via `<video>` `html 5` tag, used when you need to display a video from your site root files.

{'fraction_non_alphanumeric': 0.11720116618075802, 'fraction_numerical': 0.03206997084548105, 'mean_word_length': 4.854948805460751, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '970323', 'n_tokens_mistral': 1233, 'n_tokens_neox': 1116, 'n_words': 415}