datat.fi/example/_posts/2010-06-02-post-video-youtu...

766 B

categories last_modified_at tags title
Post Formats
2017-03-23T15:33:37-04:00
Post Formats
Post: Video (YouTube)

This post tests YouTube video embeds.

Simply wrap embeds with a <div> element and the appropriate classes:

<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>