Videos

A few examples of video shortcodes that you can use within any WordPress Page or Post with following shortcode:

[video type="" id="" width="" height=""]

Options:

  • id: (default: none) | Optional
  • class: (default: custom-video) | Optional
  • type: (default: none) | Optional
    » youtube, vimeo, dailymotion, jwplayer
  • id: (default: none) | Required [except jwplayer]
    » ID of the clip to play
  • url: (default: none) | Required for jwplayer
  • thumb: (default: none) | Optional for jwplayer
  • width: (default: 640) | Optional
  • height: (default: 390) | Optional

Youtube Video

[video type="youtube" id="ysSxxIqKNN0"]

Vimeo Video

[video type="vimeo" id="6193510"]

DailyMotion Video

[video type="dailymotion" id="xigqy1"]

jwPlayer

You must specify full video URL instead of ID for jwplayer
[video type="jwplayer" url="VIDEO_URL" thumb="THUMB_URL"]

Comments are closed.