Shared Facebook video is not displayed inline in wall posts for HTTPS users

Tag: facebook , like , opengraph Author: xiaobing_85 Date: 2011-11-09

I have an application with a Like button. Once I click Like, a post, including a video link, goes to my facebook wall. If I turn off facebook security (all FB pages are opened through insecure http), i can play video embedded into my facebook wall. But once security is on clicking my video thumbnail opens a new tab instead of embedded player.

How can I make video play the same way regardless facebook security.

Looks like it's possible: YouTube pages have essentially the same OGraph tabs included, but their player always opens embedded into my wall regardless FB security settings.

Best Answer

You may need to specify the HTTPS source of your video, see here:

and the docs:

An example of how to specify the secure URL is: <meta property="og:video:secure_url" content=""/>

I think youtube is a special case and everyone else needs to manually specify the HTTPS URL in order for the content to be displayed inline for HTTPS users


Thats exactly it.
Great!! Thanks a lot - will try that