Google Webmaster Central Blog - Official news on crawling and indexing sites for the Google index

Supporting Facebook Share and RDFa for videos

Monday, September 14, 2009 at 11:30 AM

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 talked about the importance of submitting a Video Sitemap or mRSS feed to Google and following Google's webmaster guidelines. However, we wanted to offer webmasters an additional tool, so today we're taking a page from the rich snippets playbook and announcing support for Facebook Share and Yahoo! SearchMonkey RDFa. 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="http://example.com/thumbnail_preview.jpg" />
<link rel="video_src" href="http://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="http://example.com/video_object.swf?id=12345"
xmlns:media="http://search.yahoo.com/searchmonkey/media/"
xmlns:dc="http://purl.org/dc/terms/">
<param name="movie" value="http://example.com/video_object.swf?id=12345" />
<embed src="http://example.com/video_object.swf?id=12345"
type="application/x-shockwave-flash" width="512" height="296"></embed>
<a rel="media:thumbnail" href="http://example.com/thumbnail_preview.jpg" />
<a rel="dc:license" href="http://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>
The comments you read here belong only to the person who posted them. We do, however, reserve the right to remove off-topic comments.

9 comments:

Dan said...

So will videos utilizing this be given preferential treatment? I would imagine so.

Or will there be a slow transition? I want to know if I should be including this for all of my clients yet.

Ellithy said...

wow .. great !

Whitney Segura of Beast Marketing said...

This is excellent! I just got my happy dance on.... O_O

Narasimhan said...

It is a very useful update as far as micro-formats are concerned.

freedug said...

Regarding the "video_source", should we use the video url (content_loc in google video sitemap), or the player url (player_loc in google video sitemap)?

I'm not crazy about how Google is linking to my player_loc in the search results via my video sitemap, because:
a. it doesn't go to the page where the video lives
b. It auto-full screens the video when you click on the result.

Alain-Christian said...

Can this be ANYWHERE on the page or does it have to be in the header?

david lawton said...

what about embedded youtube videos for example? should i use the video_src tag and size tags? thanks!

M26 said...

How do we use this for FLV videos that we host from our own server? Do you simply insert those meta name fields around the code for the video?

fmfame said...

i have a blogger video blog.when someone share my uploaded video on facebook,only thumbnail and link is shared,video is not shown on FB.to see video one should visit my blog.how can i show video on fb as it happens by sharing from youtube?please help me..anyone.thanks