=== Plugin Name === Contributors: SaltwaterC Tags: xhtml, youtube, google video, metacafe, trilililu, flash, swf Requires at least: 2.0 Tested up to: 2.3.3 Stable tag: 0.2.2 XHTML Video Embed is a simple yet powerful way to add flash content to your WordPress blog. == Description == XHTML Video Embed is a simple yet powerful way to add flash content to your WordPress blog. The plugin uses a simple syntax which is based on few BB-like tags. The supported tags along with the supported services is described into the preferences panel of the plugin which also serves as self-documentation. I wrote this plugin because I was kinda unhappy with the existing solutions since I really care about the XHTML validation of my blog. If you also care about it, then this plugin might be the solution for you. Most of the video services provide the embed code which can be placed into your posts, but most of the time the code is broken because it uses proprietary HTML tags such as embed. Another downside is the fact that embed itself is rejected by WordPress in certain cases (aka when using the rich text editor - TinyMCE). Features: 1. Unified sizes for all flash objects (based on file type) 1. Admin panel which allows you to check which services you would like to use and other various options (since v0.2) 1. Generic SWF support as video resolution (since v0.2) 1. Unified custom sizes for the flash objects (since v0.2.2) 1. Transparency for the object which exceeds the actual resolution of the SWF file 1. YouTube embed support 1. Google Video embed support 1. Metacafe embed support 1. Trilulilu embed support (video, audio, image) - yes, this is more that videos ;) 1. Full compatibility with Trilulilu's own WordPress plugin == Installation == 1. Upload `xhtml-video-embed.php` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Check the preferences panel (Options -> XVE Options) for more details and fine tuning == Frequently Asked Questions == = Does the plugin affect the blog's performance? = The impact should be minimal as the code is efficient. The page load time is increased though as the browser needs to download data from the external service when loading a page. = What should the PHP host support? = The PHP host should support PCRE (Perl Compatible Regular Expressions) as the plugin uses them to match and replace the tags from your post with the properly formated flash objects. = What's the supported syntax for the contend between the tags? = For generic SWF the URL should be an absolute path to the .swf file. If you're not using pretty permalinks, then you can use a relative path. For externally hosted SWF files obviously you need to use an absolute path. For the supported video services you need to use the permalink to the file you would like to embed within your blog. = Does the extra parameter(s) from the permalink break the behavior of the plugin? = If the URL is properly formatted (eg: you copy the URL from the browser's address bar), then everything should be OK. Some video services like YouTube use sometimes extra parameters within the URL. Those parameters are ignored by XVE and the only used parameter is the video ID which shouldn't be altered. = How's the compatibility with various WordPress versions? = Pretty good actually since the code itself doesn't use anything from WordPress code base except the hooks which add the extra functionality and the functions which manage the options. = Do I have to use the credits link? = No, that's not mandatory. Actually, that options comes as disabled by default. If you would like to help me spread the plugin, then use the option as checked. It places a small "Powered by XHTML Video Embed" under all the inserted flash objects. If the option is disabled, then the credit is placed as XHTML comment which is ignored, but it can be seed by the visitors who view the XHTML source of the page which contains the object. If you don't like having this within your source code, then comment the line which places this message.