Embed videos easily from youtube or other sources.
Shortcode
[video]
Options
For all Types of Videos:
- url: the url of the video
- image: url to a jpeg for a thumbnail (only works for some browsers/devices)
- autostart: (true, false) (only works for non-youtube videos)
- showinfo: (0, 1) – if using a youtube video you can turn off the title, default is 0 if title is specified.
- fourbythree: (true, false) – only set when showing a 4×3 video
There are three ways to display a video, full width (default), floated to the right of content, and in an aside with a title and caption.
Examples
Default Video With a Cover Image
The default width of videos is set to 100% of the screen size. This will scale down so that it’s viable on any type of device.
[video image="http://www.drew.edu/wp-guide/wp-content/uploads/sites/26/videofront.jpg" url="http://www.youtube.com/watch?v=sYHDOimjpwU&hd=1"]
A Video Aligned Right, Floated Around Content
[video url="http://www.youtube.com/watch?v=MPJKKRibv8U" class="vidboxright"]
A gallery that is 50% page width, floating to the right of content.
- To use this format: add in – class=”vidboxright”.
This video will revert to 100% width on mobile devices and screens smaller than 600 pixels wide.
A Video Aligned Right with a Title & Caption
[video url="http://www.youtube.com/watch?v=MPJKKRibv8U" align="right" title="Umbria Dig" caption="this would be the caption for the video"]
This video will revert to 100% width on mobile devices and screens smaller than 600 pixels wide.
Options for this format:
- align: (left, right) (This will place your video in an aside)
- title: the title of the video
- caption: a caption for the video

