Video Shortcodes

SWF Shortcode

[video_swf
    width=”560″     Width of the video
    height=”349″    Height of the video
    shadow=”true”   If false, no shadow will be placed below the video
    style=””        Custom CSS rules can be placed here
]
    URL of SWF
[/video_swf]

You can also use the alias &#91swf]…[/swf] for this

SWF example

[video_swf]…[/video_swf]

FLV, MP4 and M4V Shortcode

[video_flv
    width=”560″         Width of the video
    height=”349″        Height of the video
    autoplay=”false”    If true, the video plays automatically once loaded
    autobuffer=”false”  If true, the video starts buffering once loaded
    previewimage=””     The URL of the preview image (must be local and will be resized)
    shadow=”true”       If false, no shadow will be placed below the video
    style=””            Custom CSS rules can be placed here
]
    URL of FLV
[/video_flv]

The same configuration for [video_flv] also applies for [video_mp4] and [video_m4v]


FLV Example

[video_flv]…[/video_flv]

Created by InlifeThrill http://videohive.net/user/InlifeThrill


MP4 Example

[video_mp4]…[/video_mp4]

From: http://elephantsdream.org/


M4V Example

[video_m4v previewimage=”…”]…[/video_m4v]

From: http://www.bigbuckbunny.org/index.php/download/


YouTube and Vimeo Shortcodes

[video_youtube
    width=”560″         Width of the video
    height=”349″        Height of the video
    autoplay=”false”    If true, the video plays automatically once loaded
    shadow=”true”       If false, no shadow will be placed below the video
    style=””            Custom CSS rules can be placed here
]
    YouTube URL
[/video_youtube]

The same configuration for [video_youtube] also applies for [video_vimeo]

YouTube URLs should be in the format of http://www.youtube.com/watch?v=GPRv4Out7X8

Vimeo URLs should be in the format of http://vimeo.com/14952332


YouTube Example

[video_youtube]…[/video_youtube]

Vimeo Example

[video_vimeo]…[/video_vimeo]

VITAL – Saying Trailer by VITAL From: http://vimeo.com/14952332