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>
<!-- responsive iframe. The framesize reduces proportionately when viewing in mobile -->
<div class="video-container">
<iframe class="embed-responsive-item" src="..."></iframe>
</div>
Comments
You are seeing this because your Disqus shortname is not properly set. To configure Disqus, you should edit your
_config.yml
to include either adisqus.shortname
variable.If you do not wish to use Disqus, override the
comments.html
partial for this theme.