YouTube WordPress Plugin Readme
Requirements
Installation
- Download youtube-plugin.zip (gz)
- Extract and upload youtube.php to the plugins/ directory
- Enable YouTube Sidebar Video in the Plugin admin panel
- 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)