# Supporting Facebook Share and RDFa for videos

> [!IMPORTANT]
> It's been a while since we published this blog post. Some of the information may be outdated (for example, some images may be missing, and some links may not work anymore).

Monday, September 14, 2009


Have you ever wondered how to increase the chances of your videos appearing in Google's results?
Over the last year, the Video Search team has been working hard to improve our index of video
on the Web. Today, we're beginning the first in a series of posts to explain some best practices
for sites hosting video content.


We
[previously](https://googlevideo.blogspot.com/2009/01/calling-video-publishers.html)
talked about the importance of
[submitting a Video Sitemap or mRSS feed](https://developers.google.com/search/docs/crawling-indexing/sitemaps/video-sitemaps)
to Google and following Google's
[webmaster guidelines](https://developers.google.com/search/docs/essentials).
However, we wanted to offer webmasters an additional tool, so today we're taking a page from the
[rich snippets](https://developers.google.com/search/blog/2009/05/introducing-rich-snippets) playbook and
announcing support for [Facebook Share](https://www.facebook.com/share_partners.php)
and [Yahoo! SearchMonkey RDFa](https://developer.search.yahoo.com/help/objects/video).
Both of these markup formats allow you to specify information essential to video indexing, such
as a video's title and description, within the HTML of a video page. While we've become smarter
at discovering this information on our own, we'd certainly appreciate some hints directly from
webmasters. Also, to maximize the chances that we find the markup on your video pages, you
should make sure it appears in the HTML without the execution of JavaScript or Flash.

So, check out Facebook Share and RDFa and help Google find your videos!

Facebook Share:

```
<meta name="title" content="Baroo? - cute puppies" />
<meta name="description" content="The cutest canine head tilts on the Internet!" />
<link rel="image_src" href="https://example.com/thumbnail_preview.jpg" />
<link rel="video_src" href="https://example.com/video_object.swf?id=12345" />
<meta name="video_height" content="296" />
<meta name="video_width" content="512" />
<meta name="video_type" content="application/x-shockwave-flash" />
```

RDFa (Yahoo! SearchMonkey):

```
<object width="512" height="296" rel="media:video"
           resource="https://example.com/video_object.swf?id=12345"
           xmlns:media="https://search.yahoo.com/searchmonkey/media/"
           xmlns:dc="https://purl.org/dc/terms/">
  <param name="movie" value="https://example.com/video_object.swf?id=12345" />
  <embed src="https://example.com/video_object.swf?id=12345"
            type="application/x-shockwave-flash" width="512" height="296">
  </embed>
  <a rel="media:thumbnail" href="https://example.com/thumbnail_preview.jpg" />
  <a rel="dc:license" href="https://example.com/terms_of_service.html" />
  <span property="dc:description" content="Cute Overload defines Baroo? as: Dogspeak for
    'Whut the...?' Frequently accompanied by the Canine Tilt and/or wrinkled brow for enhanced
    effect." />
  <span property="media:title" content="Baroo? - cute puppies" />
  <span property="media:width" content="512" />
  <span property="media:height" content="296" />
  <span property="media:type" content="application/x-shockwave-flash" />
  <span property="media:region" content="us" />
  <span property="media:region" content="uk" />
  <span property="media:duration" content="63" />
</object>
```

Posted by Michael Cohen, Product Manager, Video Search Team