在链接共享facebook上显示视频

时间:2019-08-09 10:02:11

标签: facebook facebook-opengraph share-open-graph

在Facebook上共享链接时,我试图显示视频而不是图像。

我尝试遵循以下指南: https://developers.facebook.com/docs/sharing/webmasters/

我将此og元标记添加到了我共享的页面上:

<meta property="og:url" content="http://flateurope.arcelormittal.com/updatejune2019/section1.html" />
<meta property="og:type" content="video.movie" />
<meta property="og:title" content="Seven revolutions that are changing the automotive industry forever" />
<meta property="og:description" content="Paul Brettnacher on the future of steel in automotive" />
<meta property="og:image" content="http://flateurope.arcelormittal.com/updatejune2019/images/share-1.jpg" />
<meta property="og:video" content="https://www.youtube.com/v/BrF-_isqhDM" />
<meta property="og:video:secure_url" content="https://www.youtube.com/v/BrF-_isqhDM" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video:width" content="300" />
<meta property="og:video:height" content="400" />

但是,在共享此Link

图像不断显示,而不是视频。

在互联网上搜索时,我确保已应用了一些建议:

  1. 使用https代替http
  2. 确保youtube链接的格式为:https://www.youtube.com/v/BrF-_isqhDM
  3. 同时使用og:video和og:video:secure_url
  4. 已删除og:image

我还尝试将mp4文件上传到网络服务器上,并将其用作视频,并将video:type设置为“ video / mp4”。

但也没有运气。

任何帮助将不胜感激!

0 个答案:

没有答案
相关问题