---
title: 'A Post with a Video'
url: 'https://demo.getgrav.org/hpstr-skeleton/blog/video-post'
markdown: 'https://demo.getgrav.org/hpstr-skeleton/blog/video-post.md'
date: '2013-06-25'
description: "Video embeds are responsive and scale with the width of the main content block with the help of FitVids. The video goes in the post's front matter rather than in its content. Grav 2 escapes raw <iframe> tags in page content, so the theme draws the player for you: video: youtube: SU3kYxJmW…"
taxonomy:
  tags:
    - 'sample post'
    - video
---

# [A Post with a Video](https://demo.getgrav.org/hpstr-skeleton/blog/video-post "A Post with a Video")

## June 25, 2013

  Reading time ~1 minute

 Video embeds are responsive and scale with the width of the main content block with the help of [FitVids](http://fitvidsjs.com/).

The video goes in the post's front matter rather than in its content. Grav 2 escapes raw `<iframe>` tags in page content, so the theme draws the player for you:

```yaml
video:
    youtube: SU3kYxJmWuQ   # or vimeo: 76979871
```

  [sample post](https://demo.getgrav.org/hpstr-skeleton//tags:sample%20post "Pages tagged sample post") [video](https://demo.getgrav.org/hpstr-skeleton//tags:video "Pages tagged video")  [A Post with a Video](https://demo.getgrav.org/hpstr-skeleton/blog/video-post "A Post with a Video") was published on June 25, 2013 (revised: 10/24/2026) [Joe Bloggs](https://demo.getgrav.org/about "About Joe Bloggs")- [ Like](https://www.facebook.com/sharer/sharer.php?u=https://demo.getgrav.org/hpstr-skeleton/blog/video-post "Share on Facebook")
- [ Tweet](https://twitter.com/intent/tweet?text=https://demo.getgrav.org/hpstr-skeleton/blog/video-post "Share on Twitter")
- [ +1](https://plus.google.com/share?url=https://demo.getgrav.org/hpstr-skeleton/blog/video-post "Share on Google Plus")

   [comments powered by Disqus](http://disqus.com) [Read More](https://demo.getgrav.org/hpstr-skeleton/blog/sample-link-post) 

### [Post with a Background Image](https://demo.getgrav.org/hpstr-skeleton/blog/background-image "Post with a Background Image")

Sample post with a background image CSS override. [Continue reading](https://demo.getgrav.org/hpstr-skeleton/blog/background-image)

#### [Syntax Highlighting Post](https://demo.getgrav.org/hpstr-skeleton/blog/code-highlighting-post "Syntax Highlighting Post")

 Published on August 16, 2013 

#### [Sample Link Post](https://demo.getgrav.org/hpstr-skeleton/blog/sample-link-post "Sample Link Post")

 Published on August 12, 2013

---

## Navigation

- Parent: [Latest Posts](https://demo.getgrav.org/hpstr-skeleton/index.md)
- Previous: [Sample Link Post](https://demo.getgrav.org/hpstr-skeleton/blog/sample-link-post.md)
- Next: [Post with Large Feature Image and Text](https://demo.getgrav.org/hpstr-skeleton/blog/readability-feature-post.md)
