facebook/wordpress — pull request #494 by niallkennedy (2013-09-15 18:17:56+00:00)
Title: support Vimeo embeds for video post formats

Add Vimeo videos to `WP_Embed`-style converters. Adds `og:video` markup for HTML and SWF players.

No additional HTTP requests, just URL builders based on extracted Vimeo video ID. No `og:image` is generated (requires API call), which may affect playback functionality. Adding an `og:image` as a post thumbnail will correct the lack of Vimeo thumbnail.

Moves URL matching into four pieces:

1. Grab all URIs on their own lines using the same extractor as `WP_Embed::autoembed`.
1. Match against the URIs we want to handle.
1. Find the unique video ID in the URL for the service we are matching.
1. Build Open Graph media markup based on the provider and video id.