在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
时图像不断显示,而不是视频。
在互联网上搜索时,我确保已应用了一些建议:
我还尝试将mp4文件上传到网络服务器上,并将其用作视频,并将video:type设置为“ video / mp4”。
但也没有运气。
任何帮助将不胜感激!