Video Embeds

Your content in motion

The [video] shortcode lets you insert a video embed that automatically resizes to fill its parent container. The idea is that you can add a video to a page and have it display correctly on all responsive layouts – fullsize (PC & tablet) and mobile (smartphones).

YouTube Video Example

Vimeo Video Example

The Code

<!-- YouTube Embed -->
[video src="http://youtu.be/Co0tTeuUVhU" width="300" height="200"]
<!-- Vimeo Embed -->
[video src="http://vimeo.com/20148191" width="300" height="200"]

The Options

  • src – the URL of the video you want to embed
  • width – the width and height will be used to maintain the aspect ratio of the video as it is resized
  • height – the width and height will be used to maintain the aspect ratio of the video as it is resized
  • autoresize – whether or not you want the responsive autoresize to run
  • autoplay – whether to start playing the video as soon as the page is loaded

Copyright © 2014 Junk N Junk. All Rights Reserved.