HTML5
[video type="html5" thumbnail="http://vanguard2.unispheredesign.com/wp-content/uploads/2012/04/html5_thumbnail.jpg" mp4="http://media.jilion.com/videos/demo/midnight_sun_sv1_720p.mp4" webm="http://media.jilion.com/videos/demo/midnight_sun_sv1_720p.webm" /]
To Top
Youtube
[video type="youtube" url="http://www.youtube.com/watch?v=B0ky-VMi9fI" /]
To Top
Vimeo
[video type="vimeo" url="http://vimeo.com/18554749" /]
To Top
[video] shortcode parameters:
| Parameter name | Parameter description | Possible values | Default value |
|---|---|---|---|
| type | The video type | YouTube, Vimeo or HTML5 |
|
| url | The URL of YouTube or Vimeo videos only | ||
| autoplay | Autoplay the video on page load? | true or false |
false |
| thumbnail | The splash image URL | ||
| mp4 | The URL of the MP4 HTML5 video file | ||
| mp4Hd | The URL of the MP4 HTML5 video file in HD | ||
| webmOgg | The URL of the WEBM or OGG HTML5 video file | ||
| webmOggHd | The URL of the WEBM or OGG HTML5 video file in HD | ||
| width | The desired width of the video in pixels | ||
| height | The desired height of the video in pixels |
