Plugins can now include videos in their readme.txt files

The plugins directory now supports videos in readme.txt files. YouTube, Vimeo, and WordPress.comWordPress.com An online implementation of WordPress code that lets you immediately access a new WordPress environment to publish your content. WordPress.com is a private company owned by Automattic that hosts the largest multisite in the world. This is arguably the best place to start blogging if you have never touched WordPress before. https://wordpress.com/ VideoPress videos are supported.

Videos are included using one of two formats.

ShortcodeShortcode A shortcode is a placeholder used within a WordPress post, page, or widget to insert a form or function generated by a plugin in a specific location on your site.: YouTube, Vimeo, WordPress.com VideoPress

Include a normal looking shortcode anywhere in the readme.txt file.

For YouTube and Vimeo, the shortcode has one unnamed parameter: the video’s URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org.

[youtube http://www.youtube.com/watch?v=7EiKx_WSesk]
[vimeo http://vimeo.com/173714]

For WordPress.com VideoPress videos, the shortcode has one unnamed parameter: the video’s ID. The shortcode can be copied from the video’s embed menu.

[wpvideo OO4thna8]

To prevent shortcodes from being parsed, enclose the shortcode in backticks.

`[wpvideo OO4thna8]`

Autolink: YouTube, Vimeo

Include a YouTube or Vimeo URL by itself on its own line in the readme.txt file.

http://www.youtube.com/watch?v=7EiKx_WSesk
http://vimeo.com/173714

Example

https://plugins.svn.wordpress.org/mdawaffe-test/trunk/readme.txt
https://wordpress.org/extend/plugins/mdawaffe-test/

The Validator shows the videos too.

NB: Directly including object/embed HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. into the readme.txt file is not supported; the goal of the readme.txt file is to be human readable.

PS: Videos are not currently supported as replacements for screenshot images in the screenshots section. It’s silly that the Plugins Directory doesn’t yet support that 🙂 It’s on the todo.

#plugin-directory