Media - Shortcodes: Video
Saturday, November 1, 2014 9:44 PMShortcodes
[intense_video]
Description
Add a video to your page. You can select from videos in your WordPress media library or you can use video URL's from
Blip TV, College Humor, Flickr, FunnyOrDie.com, Hulu, Revision3, TED, Viddler, Vimeo, WordPress.tv, YouTube.
Screenshots
Dialog
Attributes
Attribute | Type | Dialog Title | Description | Default | Available Values |
---|---|---|---|---|---|
id | text | ID | optional - the client side id of the video. This id will be set on the HMTL tag. | ||
video_type | dropdown | Type | - wordpress - WordPress bliptv - Blip.tv collegehumor - College Humor flickr - Flickr funnyordie - FunnyOrDie.com hulu - Hulu revision3 - Revision3 screenr - Screenr ted - TED viddler - Viddler vimeo - Vimeo wordpresstv - WordPress.tv youtube - YouTube vevo - Vevo | ||
video_url | text | Video URL | |||
theme | dropdown | Theme | dark | dark - Dark light - Light | |
playlist | text | Playlist | Enter a comma separated list of Youtube video ID's. The first video in the playlist will be from the Video URL (set above). Only one user, search, or playlist can be provided. | ||
user | text | User | Enter the Youtube user name. A playlist will be shown with videos uploaded by this user. Only one user, search, or playlist can be provided. | ||
search | text | Search | Enter a search string that you want to show videos for. Only one user, search, or playlist can be provided. | ||
show_related | checkbox | Show Related Videos | 1 = true, 0 = false | ||
show_badge | checkbox | Show Badge | Vimeo video_type only | 1 | 1 = true, 0 = false |
show_byline | checkbox | Show User's Byline | Vimeo video_type only | 1 | 1 = true, 0 = false |
show_portrait | checkbox | Show User's Portrait | Vimeo video_type only | 1 | 1 = true, 0 = false |
show_title | checkbox | Show Title | Vimeo video_type only | 1 | 1 = true, 0 = false |
loop | checkbox | Loop Video | Vimeo or Youtube video_type only | 0 | 1 = true, 0 = false |
autoplay | checkbox | Autoplay Video | Vimeo or Youtube video_type only | 0 | 1 = true, 0 = false |
video_size | deprecated | size is now calculated | |||
poster | image | Poster Image | WordPress ID or any URL | ||
poster_id | deprecated | use poster instead | |||
poster_url | deprecated | use poster instead | |||
mp4 | video | MP4 Video | WordPress ID or any URL | ||
mp4_id | deprecated | use mp4 instead | |||
mp4_url | deprecated | use mp4 instead | |||
ogv | video | OGV Video | WordPress ID or any URL | ||
ogv_id | deprecated | use ogv instead | |||
ogv_url | deprecated | use ogv instead | |||
webm | video | WebM Video | WordPress ID or any URL | ||
webm_id | deprecated | use webm instead | |||
webm_url | deprecated | use webm instead |
Examples
[intense_row]
[intense_column size="12"]
<h2>Vimeo</h2>
[intense_video video_type="vimeo" video_url="http://vimeo.com/63718300" /]
[/intense_column]
[/intense_row]
[intense_row]
[intense_column size="6"]
<h2>Viddler</h2>
[intense_video video_type="viddler" video_url="http://www.viddler.com/v/bdce8c7" /]
[/intense_column]
[intense_column size="6"]
<h2>TED</h2>
[intense_video video_type="ted"
video_url="http://www.ted.com/talks/andrew_fitzgerald_adventures_in_twitter_fiction.html" /]
[/intense_column]
[/intense_row]