YouTube WordPress Plugin Readme

Requirements

Installation

  1. Download youtube-plugin.zip (gz)
  2. Extract and upload youtube.php to the plugins/ directory
  3. Enable YouTube Sidebar Video in the Plugin admin panel
  4. Edit you template to call youtube (see below)

Calling

youtube(uri[,width,height[,autoplay]])

Display a video with default width and height (250x165)
youtube("http://www.youtube.com/watch?v=AYxu_MQSTTY")

Display a video with custom width and height (500x330)
youtube("http://www.youtube.com/watch?v=AYxu_MQSTTY",500,330)

Display a video with default width and height ('' will cause it to default), but autoplay
youtube("http://www.youtube.com/watch?v=AYxu_MQSTTY","","",TRUE)

Display a video with custom width and height and autoplay
youtube("http://www.youtube.com/watch?v=AYxu_MQSTTY",500,330,TRUE)