Videos

HTML5

[video type="html5" thumbnail="http://braininstituteamerica.com/wp-content/uploads/2012/04/html5_thumbnail.jpg" mp4="http://media.jilion.com/videos/demo/midnight_sun_sv1_360p.mp4" mp4Hd="http://media.jilion.com/videos/demo/midnight_sun_sv1_720p.mp4" webmOgg="http://media.jilion.com/videos/demo/midnight_sun_sv1_360p.webm" webmOggHd="http://media.jilion.com/videos/demo/midnight_sun_sv1_720p.webm" /]

[hr/]

FLV

[video type="flv" flv="http://download.gametrailers.com/gt_vault/12821/t_portal2_pax10_coop_hd.flv"  thumbnail="http://vanguardimport.unispheredesign.com/wp-content/uploads/assets/misc/flv_video_thumbnail_big.jpg" /]

[hr/]

Youtube

[video type="youtube" url="http://www.youtube.com/watch?v=B0ky-VMi9fI" /]

[hr/]

Vimeo

[video type="vimeo" url="http://vimeo.com/18554749" /]

[hr/]

[video] shortcode parameters:

[table style=”border”]

Parameter name Parameter description Possible values Default value type The video type YouTube, Vimeo, HTML5 or FLV 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 flv The URL of the FLV video file flvHd The URL of the FLV video file in HD width The desired width of the video in pixels height The desired height of the video in pixels

[/table]

Advertisements