2

Am facing issue with sharing videos on facebook wall. Actually the video is sharing on FB wall but the video is not playing inline.

This is the shared page meta details,

<meta property="og:site_name" content="Staging Derbywire">
<meta property="og:url" content="http://staging.derbywire.com/video/ticker/102">
<meta property="og:title" content="Derbywire mobile market place">
<meta property="og:type" content="video">
<meta property="og:image" content="http://s3.amazonaws.com/derbywire_development/system/attachments/96/original/open-uri20130822-8464-10q2etf?1377170817">
<meta property="og:description" content="Derbywire is a collective space where creatives can sell buy digital content">
<meta property="og:video" content="http://staging.derbywire.com/video/player">
<meta property="og:video:type" content="application/x-shockwave-flash">
<meta property="og:video:width" content="480">

This is the link for that page http://staging.derbywire.com/video/ticker/102

enter image description here While validating this page using the following link

https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fstaging.derbywire.com%2Fvideo%2Fticker%2F102

enter image description here

Its not giving any errors, But its not playing the video.

I gave the source video URL as http://staging.derbywire.com/video/player

This page has the video player

enter image description here

All the configurations are i did correctly. But the video is not playing. But i changed the source as YOUTUBE link then it was working.

Can any one help me out from this issue.

4

2 回答 2

2
<meta property="og:video" content="http://staging.derbywire.com/video/player" />
<meta property="og:video:type" content="application/x-shockwave-flash" />

您必须在此处提供播放视频的实际 SWF 文件的 URL - 您提供的地址 ( http://staging.derbywire.com/video/player ) 但是会提供完整的 HTML 文档。Facebook 将完整的 HTML 文档嵌入到他们的页面中并不是那么愚蠢。

因此,将该属性更改为将播放实际视频的独立 SWF 文件的地址。

于 2013-08-27T14:07:07.193 回答
0

我找到了在 Facebook 墙上播放共享视频/音频的解决方案。

  • 对于视频,我给了这样的元标记

    <meta property="og:video" content="https://d12zt1n3pd4xhr.cloudfront.net/fp/swf/flowplayer-3.2.16.swf?config={'splash': true, 'clip':{'url': '<%= url %>'},'plugins': {'controls':{'url':'https://d12zt1n3pd4xhr.cloudfront.net/fp/swf/flowplayer.controls-3.2.15.swf','bottom': 20}}}">
    
  • 对于音频,我给了这样的元标签

    <meta property="og:video" content="https://d12zt1n3pd4xhr.cloudfront.net/fp/swf/flowplayer-3.2.16.swf?config={'clip':{'url': '<%= url %>', 'provider': 'audio'},'plugins': {'audio': {'url': 'https://releases.flowplayer.org/swf/flowplayer.audio.swf'},'controls':{'url':'https://d12zt1n3pd4xhr.cloudfront.net/fp/swf/flowplayer.controls-3.2.15.swf', 'backgroundColor':'#002200', 'fullscreen': false, 'height': 50, 'autoHide': false}}}">
    

如果您在链接页面中提供了正确的元标记,facebook 会自动播放视频/音频。

对于 HTTPS 用户,您必须提供 HTTPS SWF 配置。否则文件不会内联播放。

于 2013-08-28T10:31:59.630 回答