3

im trying to display the player from Vimeo on the facebook wall (after clicking the link share).

<html>
<head>
<title>Some title</title>
<meta name="title" content="Some title" />
<meta name="description" content="Some description" />
<link rel="image_src" href="http://b.vimeocdn.com/ts/xxx/xxx/xx.jpg" />
<link rel="video_src" href="http://player.vimeo.com/video/XXXXXX" />
<meta name="video_height" content="360" />
<meta name="video_width" content="640" />
<meta name="video_type" content="application/x-shockwave-flash" />
<meta name="medium" content="video" />
</head>
<body></body>
</html>

using this, facebook doesn't load the video directly. Im not sure why its not working, so anyone with experience - can you tell me where i fail?

4

1 に答える 1

6

Use the new Facebook open graph meta tags. I grabbed the vimeo link by going to a vimeo video, clicking embed, clicked "old embed code", and grabbing the url.

<meta property="og:image" content="http://b.vimeocdn.com/ts/xxx/xxx/xx.jpg"/>
<meta property="og:video" content="http://vimeo.com/moogaloop.swf?clip_id=xxxxxxxx&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=00ADEF&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" />
<meta property="og:video:height" content="360" />
<meta property="og:video:width" content="640" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
于 2011-06-03T03:17:06.770 に答える