=== Featured Video === Contributors: towonder Donate link: http://www.to-wonder.com Tags: video, featured, youtube, media Requires at least: 3.0 Tested up to: 3.2.1 Stable tag: 1.0 Featured video is exactly the same as a featured image. It allows you to easily link a YouTube video to a post. == Description == Featured video allows you to add a YouTube video to one of your posts and get to it, the same way you would get to a featured image. Just use the the_post_video() function in your theme and your good to go! the_post_video() returns your video standard with a 560x315 resolution. You can pass along the width and height, if you would like to change this, so: the_post_video(600,400) will return the video with a resolution of 600x400. There are a few other functions you can use in your theme (all parameters are optional): has_post_video(post_id) // same as has_post_thumbnail(), returns true or false. get_the_post_video(post_id, width, height) // will not echo the video. Has the option to pass a post_id the_post_video_thumbnail(post_id) // show the video thumbnail get_the_post_video_thumbnail(post_id) // will not echo the video thumbnail directly. the_post_video_image(post_id) // get the big version of the thumbnail get_the_post_video_image(post_id) //will not echo the video image directly This plugin currently only supports YouTube and works with the newer iFrame embed code. == Installation == This section describes how to install the plugin and get it working. e.g. 1. Upload `featured-video` to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Copy/paste your embed-code in the textfield when you are editing a post. == Frequently Asked Questions == = I keep getting the error that my embedcode isn't right = If your embedcode starts with an object-tag you're using an older version of the embedcode. Try looking for the newer embedcode, it starts with the iframe tag. == Screenshots == == Changelog == = 1.0 = * First stable version