【问题标题】:Using Open Graph meta tags to play video on Facebook Timeline使用 Open Graph 元标记在 Facebook 时间轴上播放视频
【发布时间】:2013-04-30 11:55:45
【问题描述】:

我正在尝试使用 og:video 元标记将 Flash 音频播放器嵌入 Facebook 时间线。它对于某些带有标签的页面不与其他页面一起购买。每个页面都有相同的标签,除了歌曲 ID beat_idog:image

对于某些 URL,您会在 Facebook 时间轴上看到一个不错的播放按钮,单击时 Flash 播放器会像 YouTube 视频一样在时间轴上打开,仅对于某些 URL,它只显示一个链接。

我尝试使用 Facebook 的调试器重置 URL,但仍然是同样的问题。有任何想法吗?这里有 2 个 URL 和它们的标签,一个有效,另一个无效。

不显示播放按钮,仅显示链接:http://www.myflashstore.net/share-beat/373456

<meta name="og:image" content="http://www.myflashstore.net/images/avatar/thumb_e14704915848de9788143522.jpg" />
  <meta name="og:video" content="http://www.myflashstore.net/flash/solo.swf?beat_id=373456&autoplay=true' />" />
  <meta name="og:video:height" content="100" />
  <meta name="og:video:width" content="400" />
  <meta name="og:video:type" content="application/x-shockwave-flash" /> 

显示播放按钮并在时间轴上播放:http://www.myflashstore.net/share-beat/387438

<meta name="og:image" content="http://www.myflashstore.net/images/avatar/thumb_37ff506f1aac87c3ff0266cf.jpg" />
  <meta name="og:video" content="http://www.myflashstore.net/flash/solo.swf?beat_id=387438&autoplay=true' />" />
  <meta name="og:video:height" content="100" />
  <meta name="og:video:width" content="400" />
  <meta name="og:video:type" content="application/x-shockwave-flash" />

2013 年 5 月 7 日编辑

好像是 Facebook 的 bug,我已经报告了这个 bug,已经被 FB 工程师分类,等待回复

http://developers.facebook.com/bugs/449237341833565

【问题讨论】:

  • 你能重新提交错误吗?在日志中,他们似乎说需要重新提交该错误。

标签: html facebook metadata facebook-opengraph


【解决方案1】:

这会做你想做的事

<meta name="video_width" content="700" />
<meta name="video_height" content="400" />
<meta name="video_type" content="application/x-shockwave-flash" />
<link rel="video_src" href="http://www.myflashstore.net/flash/solo.swf?beat_id=373456&autoplay=true"/>

<link rel="image_src" href="http://www.myflashstore.net/images/avatar/thumb_37ff506f1aac87c3ff0266cf.jpg" />

【讨论】:

  • 这是旧的做法,Facebook 现在使用 Open Graph 标签。
猜你喜欢
  • 1970-01-01
  • 2012-01-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-04-30
  • 2020-01-25
  • 2012-07-30
  • 1970-01-01
相关资源
最近更新 更多