分享视频链接并在Facebook内联播放

时间:2014-05-04 03:26:57

标签: android facebook facebook-graph-api video facebook-like

我在Playing back an embedded mp4 video in a Facebook like or share using Flash尝试了Robs解决方案,但视频仍然无法在Facebook墙上播放...如果我更改" og:video"对youtube或vimeo来说,它完美地工作......任何人都能想到这一点吗?非常感谢!

<meta property="og:site_name" content="video system" /><meta property="og:url" content="http://video.system.com?video_id=11111" />
<meta property="og:title" content="the video title" /> 
<meta property="og:image" content="http://video.system.com/11111.jpg" /> 

<meta property="og:description" content="the video description" /> 

<meta property="og:type" content="video" />

<meta property="og:video" content="https://app.system.com/StrobeMediaPlayback.swf?flashvars=&src=https://app.system.com/11111.mp4" />
<meta property="og:video:secure_url" content="https://app.system.com/StrobeMediaPlayback.swf?flashvars=&src=https://app.system.com/11111.mp4" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video:width" content="320" />
<meta property="og:video:height" content="180" />

1 个答案:

答案 0 :(得分:1)

尝试更改og:video:输入&#34; video / mp4&#34;

    <meta property="og:video:type" content="video/mp4" data-content-type="dynamic">

参考 - 本页的某处:https://developers.facebook.com/docs/opengraph/creating-custom-stories#propertytypes