The embedded video on the Facebook timeline shows a “download link”, will not play inline only when shared via facebook open graph api

Here are the meta tags I use:

<meta property="fb:app_id" content="xxxxxxxxxxxxxxxxx" /> <meta property="og:video" content="http://videogami.s3.amazonaws.com/54c2c58c19d5bdec65000036.mp4"> <meta property="og:video:secure_url" content="https://videogami.s3.amazonaws.com/54c2c58c19d5bdec65000036.mp4"> <meta property="og:video:type" content="video/mp4"> <meta property="og:video:width" content="600"> <meta property="og:video:height" content="380"> <meta property="og:title" content="" /> <meta property="og:image" content="http://videogami.s3.amazonaws.com/54c2c58c19d5bdec65000036.big.jpg" /> <meta property="og:url" content="http://videogami.tv/h/54c2c58c19d5bdec65000036" /> <meta property="og:type" content="video.other" /> 

If I share the link manually, embedding works fine. But when I share the link via the Facebook / me / feed api, it will not play and just shows the link to mp4, which says “download file”.

Here is an example link: http://videogami.tv/h/54c2bb1719d5bdec65000030

Any idea why this might happen? I am sure that you no longer need a flash player, it did not say anything about this in the FB docs I could find.

It makes no sense that it will work when you manually post it and also post the link via api ...

before playingafter clicking play

+6
source share

Source: https://habr.com/ru/post/981632/


All Articles