Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a facebook share button on my website and it works great on everything else except for embedded videos from youtube. When I click on the share button it only loads the title and whatever the excerpt is with out the thumbnail of the video. Please can someone help on this problem? My entire site depends on it.

share|improve this question

closed as too localized by Chip Bennett, EAMann Jan 31 '12 at 22:05

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
IF this question is WordPress-related, it is far too localized for WPSE. –  Chip Bennett Jan 31 '12 at 21:37

2 Answers 2

You have to add the meta og:video tags into your header for it to recognize them.

Simple Facebook Connect does this automagically for YouTube content: http://wordpress.org/extend/plugins/simple-facebook-connect/

More info on OpenGraph tags here: http://developers.facebook.com/docs/opengraph/

share|improve this answer

I think this question is not WordPress related. Still, regarding the question, I think Facebook includes a thumbnail to the video when you share a link to a YouTube video, not a page that contains a YouTube video (as would be the case in your website).

Anyway, you'll probably have better luck asking this on http://webmasters.stackexchange.com/

share|improve this answer
    
I am using a wordpress theme, it almost seems as if the share button doesn't recognize the embedded video –  user2894 Feb 2 '11 at 16:02
    
@Bob Love: I believe you have specify (somehow) a special string of proposed thumbnails that facebook can use. I'm not 100% sure as I've not really dealt with anything beyond adding a like button to posts. :/ –  Zack Feb 2 '11 at 19:53
    
Can I maybe add anything to the share button php code (meta code) to make it work? –  user2894 Feb 2 '11 at 22:25